@@ -65,7 +65,7 @@ |
||
| 65 | 65 | return null; |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | - return (string)$response->getBody()->getContents() ?? ''; |
|
| 68 | + return (string) $response->getBody()->getContents() ?? ''; |
|
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | public static function isWebURL(string $url): bool |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | } |
| 66 | 66 | $this->setUpInConstructor(); |
| 67 | 67 | |
| 68 | - $this->run();//todo delete that and use (Worker)->run($duration) or process management |
|
| 68 | + $this->run(); //todo delete that and use (Worker)->run($duration) or process management |
|
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | protected function setUpInConstructor(): void |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | new EditInfo($this->taskName, $this->minorFlag, $this->botFlag, $this->maxLag) |
| 190 | 190 | ); |
| 191 | 191 | dump($result); |
| 192 | - echo "Sleep ".(string)static::SLEEP_AFTER_EDITION."\n"; |
|
| 192 | + echo "Sleep ".(string) static::SLEEP_AFTER_EDITION."\n"; |
|
| 193 | 193 | sleep(static::SLEEP_AFTER_EDITION); |
| 194 | 194 | } |
| 195 | 195 | } |