@@ -122,10 +122,10 @@ discard block |
||
122 | 122 | } |
123 | 123 | |
124 | 124 | /** |
125 | - * The listener of "managerStart" event. |
|
126 | - * |
|
127 | - * @return void |
|
128 | - */ |
|
125 | + * The listener of "managerStart" event. |
|
126 | + * |
|
127 | + * @return void |
|
128 | + */ |
|
129 | 129 | public function onManagerStart() |
130 | 130 | { |
131 | 131 | $this->setProcessName('manager process'); |
@@ -357,21 +357,21 @@ discard block |
||
357 | 357 | swoole_set_process_name($name); |
358 | 358 | } |
359 | 359 | |
360 | - /** |
|
361 | - * Indicates if the process is running in macOS. |
|
362 | - * |
|
363 | - * @return bool |
|
364 | - */ |
|
360 | + /** |
|
361 | + * Indicates if the process is running in macOS. |
|
362 | + * |
|
363 | + * @return bool |
|
364 | + */ |
|
365 | 365 | protected function isMacOS() |
366 | 366 | { |
367 | 367 | return PHP_OS === 'Darwin'; |
368 | 368 | } |
369 | 369 | |
370 | - /** |
|
371 | - * Indicates if it's in phpunit environment. |
|
372 | - * |
|
373 | - * @return bool |
|
374 | - */ |
|
370 | + /** |
|
371 | + * Indicates if it's in phpunit environment. |
|
372 | + * |
|
373 | + * @return bool |
|
374 | + */ |
|
375 | 375 | protected function isInTesting() |
376 | 376 | { |
377 | 377 | return defined('IN_PHPUNIT') && IN_PHPUNIT; |