I am building a DI factory and seem to be getting this error:
Fatal error: Default value for parameters with a class type hint can only be NULL in your code on line 70
Which is this line:
public function get(
        $foo, bool $func = false, array $params = array()
    ) {
It seems that if I remove the bool before the $func paramater, it works.
Although, how can I hint a type array but not a type boolean?
Any help would be appreciated.
