Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-05-27 23:50:38 +00:00 committed by StyleCI Bot
parent 3aef7653a4
commit 87f82ee2d4

View File

@ -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();
}