Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Apr 21, 2024
1 parent 6ce2045 commit 4628401
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/RobotLoader/RobotLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ public function addDirectory(string ...$paths): static
}


public function reportParseErrors(bool $on = true): static
public function reportParseErrors(bool $state = true): static
{
$this->reportParseErrors = $on;
$this->reportParseErrors = $state;
return $this;
}

Expand Down Expand Up @@ -385,9 +385,9 @@ private function scanPhp(string $file): array
/**
* Sets auto-refresh mode.
*/
public function setAutoRefresh(bool $on = true): static
public function setAutoRefresh(bool $state = true): static
{
$this->autoRebuild = $on;
$this->autoRebuild = $state;
return $this;
}

Expand Down

0 comments on commit 4628401

Please sign in to comment.