@@ -4,7 +4,7 @@ |
||
| 4 | 4 | use Wonderland\Thread\Example\Simple\TestThread; |
| 5 | 5 | use Wonderland\Thread\ThreadPool; |
| 6 | 6 | |
| 7 | -require __DIR__.'/../../vendor/autoload.php'; |
|
| 7 | +require __DIR__ . '/../../vendor/autoload.php'; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * @param $increment |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | |
| 84 | 84 | if (null === $status) { |
| 85 | 85 | throw new ThreadException( |
| 86 | - 'Error. You must return a process status in '.get_class($this).':'.$this->getMethodName() |
|
| 86 | + 'Error. You must return a process status in ' . get_class($this) . ':' . $this->getMethodName() |
|
| 87 | 87 | ); |
| 88 | 88 | } |
| 89 | 89 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | use Wonderland\Thread\Example\SelfManaging\ManagerThread; |
| 4 | 4 | use Wonderland\Thread\ThreadPool; |
| 5 | 5 | |
| 6 | -require __DIR__.'/../../vendor/autoload.php'; |
|
| 6 | +require __DIR__ . '/../../vendor/autoload.php'; |
|
| 7 | 7 | |
| 8 | 8 | $pool = new ThreadPool(); |
| 9 | 9 | $pool->setMaxRunningThreadNb(3); |