The doc-type ?mixed could not be parsed: Unknown type name "?mixed" at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see
which comment annotations we can parse, please refer to our documentation on
supported doc-types.
Loading history...
15
*
16
* @return mixed
17
*/
18
public function __invoke($object, string $prop, $default = null)
19
{
20
try {
21
if ($object === null) {
22
return $default;
23
}
24
25
$refProp = (new ReflectionProperty($object, $prop));
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.