Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: FunctionVariantWithPhpDocs.php
<?php declare(strict_types = 1); namespace PHPStan\Reflection; use PHPStan\Type\Type; class FunctionVariantWithPhpDocs extends FunctionVariant implements ParametersAcceptorWithPhpDocs { /** @var Type */ private $phpDocReturnType; /** @var Type */ private $nativeReturnType; /** * @param array<int, \PHPStan\Reflection\ParameterReflectionWithPhpDocs> $parameters * @param bool $isVariadic * @param Type $returnType * @param Type $phpDocReturnType * @param Type $nativeReturnType */ public function __construct( array $parameters, bool $isVariadic, Type $returnType, Type $phpDocReturnType, Type $nativeReturnType ) { parent::__construct( $parameters, $isVariadic, $returnType ); $this->phpDocReturnType = $phpDocReturnType; $this->nativeReturnType = $nativeReturnType; } /** * @return array<int, \PHPStan\Reflection\ParameterReflectionWithPhpDocs> */ public function getParameters(): array { /** @var \PHPStan\Reflection\ParameterReflectionWithPhpDocs[] $parameters */ $parameters = parent::getParameters(); return $parameters; } public function getPhpDocReturnType(): Type { return $this->phpDocReturnType; } public function getNativeReturnType(): Type { return $this->nativeReturnType; } }