diff --git a/src/RobotLoader/RobotLoader.php b/src/RobotLoader/RobotLoader.php index 938760c..e1f0177 100644 --- a/src/RobotLoader/RobotLoader.php +++ b/src/RobotLoader/RobotLoader.php @@ -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; } @@ -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; }