@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use Ackintosh\Snidel\Result\Queue as ResultQueue; |
| 10 | 10 | use Ackintosh\Snidel\Result\Collection; |
| 11 | 11 | use Ackintosh\Snidel\Error; |
| 12 | -use Ackintosh\Snidel\Exception\SharedMemoryControlException; |
|
| 13 | 12 | use Ackintosh\Snidel\Worker; |
| 14 | 13 | use Ackintosh\Snidel\ActiveWorkerSet; |
| 15 | 14 | |
@@ -60,8 +60,8 @@ discard block |
||
| 60 | 60 | foreach ($this->signals as $sig) { |
| 61 | 61 | $this->pcntl->signal( |
| 62 | 62 | $sig, |
| 63 | - function ($sig) use($log, $self) { |
|
| 64 | - $log->info('received signal. signo: ' . $sig); |
|
| 63 | + function($sig) use($log, $self) { |
|
| 64 | + $log->info('received signal. signo: '.$sig); |
|
| 65 | 65 | $self->setReceivedSignal($sig); |
| 66 | 66 | |
| 67 | 67 | $log->info('--> sending a signal " to children.'); |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | ); |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | - $this->log->info('parent pid: ' . $this->ownerPid); |
|
| 76 | + $this->log->info('parent pid: '.$this->ownerPid); |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | /** |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | throw $e; |
| 112 | 112 | } |
| 113 | 113 | |
| 114 | - $this->log->info('queued task #' . $this->container->queuedCount()); |
|
| 114 | + $this->log->info('queued task #'.$this->container->queuedCount()); |
|
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | /** |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | $this->wait(); |
| 155 | 155 | } |
| 156 | 156 | if ($tag !== null && !$this->container->hasTag($tag)) { |
| 157 | - throw new \InvalidArgumentException('unknown tag: ' . $tag); |
|
| 157 | + throw new \InvalidArgumentException('unknown tag: '.$tag); |
|
| 158 | 158 | } |
| 159 | 159 | |
| 160 | 160 | return $this->container->getCollection($tag); |