We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b464fd commit 43b8f76Copy full SHA for 43b8f76
src/RobotLoader/RobotLoader.php
@@ -135,9 +135,9 @@ public function addDirectory(string ...$paths): static
135
}
136
137
138
- public function reportParseErrors(bool $on = true): static
+ public function reportParseErrors(bool $state = true): static
139
{
140
- $this->reportParseErrors = $on;
+ $this->reportParseErrors = $state;
141
return $this;
142
143
@@ -385,9 +385,9 @@ private function scanPhp(string $file): array
385
/**
386
* Sets auto-refresh mode.
387
*/
388
- public function setAutoRefresh(bool $on = true): static
+ public function setAutoRefresh(bool $state = true): static
389
390
- $this->autoRebuild = $on;
+ $this->autoRebuild = $state;
391
392
393
0 commit comments