Aggiornato Composer
This commit is contained in:
@@ -13,9 +13,16 @@ declare(strict_types=1);
|
||||
|
||||
namespace Carbon\PHPStan;
|
||||
|
||||
use PHPStan\BetterReflection\Reflection\Adapter;
|
||||
use PHPStan\Reflection\Php\BuiltinMethodReflection;
|
||||
use ReflectionMethod;
|
||||
|
||||
$method = new ReflectionMethod(BuiltinMethodReflection::class, 'getReflection');
|
||||
|
||||
require $method->hasReturnType() && $method->getReturnType()->getName() === Adapter\ReflectionMethod::class
|
||||
? __DIR__.'/../../../lazy/Carbon/PHPStan/AbstractMacroStatic.php'
|
||||
: __DIR__.'/../../../lazy/Carbon/PHPStan/AbstractMacroBuiltin.php';
|
||||
|
||||
$method = new ReflectionMethod(BuiltinMethodReflection::class, 'getFileName');
|
||||
|
||||
require $method->hasReturnType()
|
||||
|
||||
Reference in New Issue
Block a user