@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * THE SOFTWARE. |
| 30 | 30 | */ |
| 31 | 31 | |
| 32 | - class Manager implements Iterator, Countable { |
|
| 32 | + class Manager implements Iterator, Countable { |
|
| 33 | 33 | |
| 34 | 34 | use IteratorTrait; |
| 35 | 35 | use CountableTrait; |
@@ -274,4 +274,4 @@ discard block |
||
| 274 | 274 | |
| 275 | 275 | } |
| 276 | 276 | |
| 277 | - } |
|
| 277 | + } |
|
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | * @property LoggerInterface $logger |
| 68 | 68 | * @property int $pid |
| 69 | 69 | */ |
| 70 | - public function __construct($properties = [], LoggerInterface $logger = null, EventsManager $events = null){ |
|
| 70 | + public function __construct($properties = [], LoggerInterface $logger = null, EventsManager $events = null) { |
|
| 71 | 71 | |
| 72 | 72 | if ( !Checks::multithread() ) { |
| 73 | 73 | throw new Exception("Missing pcntl fork"); |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * @param LoggerInterface $logger; |
| 45 | 45 | * @param EventsManager $events; |
| 46 | 46 | */ |
| 47 | - public function __construct($niceness = null, LoggerInterface $logger = null, EventsManager $events = null){ |
|
| 47 | + public function __construct($niceness = null, LoggerInterface $logger = null, EventsManager $events = null) { |
|
| 48 | 48 | |
| 49 | 49 | if ( !Checks::cli() ) { |
| 50 | 50 | throw new RuntimeException("Process can run only in cli SAPI"); |
@@ -288,9 +288,9 @@ |
||
| 288 | 288 | |
| 289 | 289 | if ($message === null) { |
| 290 | 290 | // if ($message == null) { |
| 291 | - $this->hangup($client); |
|
| 291 | + $this->hangup($client); |
|
| 292 | 292 | } else if ( $message === false ) { |
| 293 | - continue; |
|
| 293 | + continue; |
|
| 294 | 294 | } else { |
| 295 | 295 | $output = $this->serve($message); |
| 296 | 296 | $this->write($client, $output); |
@@ -238,7 +238,7 @@ |
||
| 238 | 238 | } |
| 239 | 239 | |
| 240 | 240 | /** |
| 241 | - * Check if an encrypted envelope is consisent or not |
|
| 241 | + * Check if an encrypted envelope is consisent or not |
|
| 242 | 242 | * |
| 243 | 243 | * @param string $data |
| 244 | 244 | * |