Skip to content

Commit

Permalink
Fix BC break
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmajor authored and ondrejmirtes committed May 28, 2022
1 parent 598bda2 commit 87b213d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Analyser/MutatingScope.php
Expand Up @@ -2475,8 +2475,8 @@ public function enterClassMethod(
bool $isDeprecated,
bool $isInternal,
bool $isFinal,
?bool $isPure,
bool $acceptsNamedArguments,
?bool $isPure = null,
bool $acceptsNamedArguments = true,
): self
{
if (!$this->isInClass()) {
Expand Down Expand Up @@ -2578,8 +2578,8 @@ public function enterFunction(
bool $isDeprecated,
bool $isInternal,
bool $isFinal,
?bool $isPure,
bool $acceptsNamedArguments,
?bool $isPure = null,
bool $acceptsNamedArguments = true,
): self
{
return $this->enterFunctionLike(
Expand Down

0 comments on commit 87b213d

Please sign in to comment.