Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: DummyParameter.php
<?php declare(strict_types = 1); namespace PHPStan\Reflection\Php; use PHPStan\Reflection\ParameterReflection; use PHPStan\Reflection\PassedByReference; use PHPStan\Type\Type; class DummyParameter implements ParameterReflection { /** @var string */ private $name; /** @var \PHPStan\Type\Type */ private $type; /** @var bool */ private $optional; /** @var \PHPStan\Reflection\PassedByReference */ private $passedByReference; /** @var bool */ private $variadic; public function __construct(string $name, Type $type, bool $optional, ?PassedByReference $passedByReference = null, bool $variadic = false) { $this->name = $name; $this->type = $type; $this->optional = $optional; $this->passedByReference = $passedByReference !== null ? PassedByReference::createCreatesNewVariable() : PassedByReference::createNo(); $this->variadic = $variadic; } public function getName(): string { return $this->name; } public function isOptional(): bool { return $this->optional; } public function getType(): Type { return $this->type; } public function passedByReference(): PassedByReference { return $this->passedByReference; } public function isVariadic(): bool { return $this->variadic; } }