/**
* @Inject
* @param bool $param
*/
public function method1($param)
{
...
}
It seems that it throws an exception. Add tests to reproduce, then fix.
Problem: how to fix?
- have a blacklist of types (bool, int, …) but how to handle edge cases like "MyClass[string]", "String", …
- don't throw an exception if the type doesn't match a class name: difficult to debug if typo in the class name…