[2022-08-31 10:50:54] local.WARNING:
ReflectionClass::__construct(): Passing null to parameter #1 ($objectOrClass) of type object|string is deprecated in /path/to/project/vendor/barryvdh/laravel-ide-helper/src/Console/MetaCommand.php on line 98
[2022-08-31 10:50:54] local.WARNING:
ReflectionClass::__construct(): Passing null to parameter #1 ($objectOrClass) of type object|string is deprecated in /path/to/project/vendor/barryvdh/laravel-ide-helper/src/Console/MetaCommand.php on line 98
ReflectionClass::__construct signature from PHPStorm stubs:
/**
* Constructs a ReflectionClass
*
* @link https://php.net/manual/en/reflectionclass.construct.php
* @param class-string<T>|T $objectOrClass Either a string containing the name of
* the class to reflect, or an object.
* @throws ReflectionException if the class does not exist.
*/
public function __construct(#[LanguageLevelTypeAware(['8.0' => 'object|string'], default: '')] $objectOrClass) {}
Versions:
Description:
ReflectionClass::__construct signature from PHPStorm stubs:
Steps To Reproduce:
php artisan ide-helper:meta