From 462840152a6eaf2176005783c802f98a47579c37 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Sun, 21 Apr 2024 16:00:15 +0200 Subject: [PATCH] cs --- src/RobotLoader/RobotLoader.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; }