It seems like the GitHub access token used for retrieving details about this repository from
GitHub became invalid. This might prevent certain types of inspections from being run (in
particular,
everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
It seems like new \Minime\Annotations\Types\DynamicType() of type object<Minime\Annotations\Types\DynamicType> is incompatible with the declared type object<Minime\Annotations\Types\TypeInterface> of property $instance.
Our type inference engine has found an assignment to a property that is incompatible
with the declared type of that property.
Either this assignment is in error or the assigned type should be added
to the documentation/type hint for that property..
The expression self::$instance; of type Minime\Annotations\Types...ons\Types\TypeInterface adds the type Minime\Annotations\Types\TypeInterface to the return on line 18 which is incompatible with the return type declared by the abstract method Minime\Annotations\Types\AbstractType::getType of type Minime\Annotations\Interfaces\TypeInterface.
Loading history...
19
}
20
21
/**
22
* Parse a given undefined type value
23
*
24
* @param string $value
25
* @param null $annotation Unused
26
* @return mixed
27
*/
28
public function parse($value, $annotation = null)
29
{
30
if ('' === $value) return true; // implicit boolean
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..