Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: NonexistentParentClassType.php
<?php declare(strict_types = 1); namespace PHPStan\Type; use PHPStan\Reflection\ClassMemberAccessAnswerer; use PHPStan\Reflection\ConstantReflection; use PHPStan\Reflection\MethodReflection; use PHPStan\Reflection\PropertyReflection; use PHPStan\TrinaryLogic; use PHPStan\Type\Traits\NonCallableTypeTrait; use PHPStan\Type\Traits\NonGenericTypeTrait; use PHPStan\Type\Traits\NonIterableTypeTrait; use PHPStan\Type\Traits\NonOffsetAccessibleTypeTrait; use PHPStan\Type\Traits\TruthyBooleanTypeTrait; class NonexistentParentClassType implements Type { use JustNullableTypeTrait; use NonCallableTypeTrait; use NonIterableTypeTrait; use NonOffsetAccessibleTypeTrait; use TruthyBooleanTypeTrait; use NonGenericTypeTrait; public function describe(VerbosityLevel $level): string { return 'parent'; } public function canAccessProperties(): TrinaryLogic { return TrinaryLogic::createNo(); } public function hasProperty(string $propertyName): TrinaryLogic { return TrinaryLogic::createNo(); } public function getProperty(string $propertyName, ClassMemberAccessAnswerer $scope): PropertyReflection { throw new \PHPStan\ShouldNotHappenException(); } public function canCallMethods(): TrinaryLogic { return TrinaryLogic::createNo(); } public function hasMethod(string $methodName): TrinaryLogic { return TrinaryLogic::createNo(); } public function getMethod(string $methodName, ClassMemberAccessAnswerer $scope): MethodReflection { throw new \PHPStan\ShouldNotHappenException(); } public function canAccessConstants(): TrinaryLogic { return TrinaryLogic::createNo(); } public function hasConstant(string $constantName): TrinaryLogic { return TrinaryLogic::createNo(); } public function getConstant(string $constantName): ConstantReflection { throw new \PHPStan\ShouldNotHappenException(); } public function isCloneable(): TrinaryLogic { return TrinaryLogic::createNo(); } public function toNumber(): Type { return new ErrorType(); } public function toString(): Type { return new ErrorType(); } public function toInteger(): Type { return new ErrorType(); } public function toFloat(): Type { return new ErrorType(); } public function toArray(): Type { return new ErrorType(); } /** * @param mixed[] $properties * @return Type */ public static function __set_state(array $properties): Type { return new self(); } }