diff --git a/src/Thread.php b/src/Thread.php index 79d68e7b..ab6a9f98 100644 --- a/src/Thread.php +++ b/src/Thread.php @@ -32,7 +32,9 @@ if (!extension_loaded('pthreads')) { public function start() { - if (!isset($this->state)) $this->state = 0; + if (!isset($this->state)) { + $this->state = 0; + } if ($this->state & self::STARTED) { throw new \RuntimeException(); }