removed toArray method (API Reflect 2.1), using now the new API Reflect 2.2 (render method), and fix issue/regression (class not detected when type hint of function parameters)