Skip to content

Commit

Permalink
TASK: Make phpstan happy :D
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Jan 25, 2024
1 parent dd20614 commit eabb3ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function __construct(string $objectName, string $className)
}

$this->objectName = $objectName;
$this->className = ($className ?? $objectName);
$this->className = $className;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ protected function parseScope(string $value): int
* @return integer The autowiring option translated into one of Configuration::AUTOWIRING_MODE_*
* @throws InvalidObjectConfigurationException if an invalid option has been specified
*/
protected static function parseAutowiring(bool|int $value): int
protected static function parseAutowiring(mixed $value): int
{
return match ($value) {
true, Configuration::AUTOWIRING_MODE_ON => Configuration::AUTOWIRING_MODE_ON,
Expand Down

0 comments on commit eabb3ff

Please sign in to comment.