@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Zewa; |
| 4 | 4 | |
| 5 | 5 | use Sabre\Event\Emitter; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Zewa; |
| 4 | 4 | |
| 5 | 5 | use Sabre\Event\Emitter; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Zewa; |
| 4 | 4 | |
| 5 | 5 | use Sabre\Event\Emitter; |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | |
| 36 | 36 | public function isEmpty() : bool |
| 37 | 37 | { |
| 38 | - if (! empty($this->collection)) { |
|
| 38 | + if (!empty($this->collection)) { |
|
| 39 | 39 | return false; |
| 40 | 40 | } |
| 41 | 41 | |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | $result = []; |
| 135 | 135 | |
| 136 | 136 | foreach ($this->collection as $key => $item) { |
| 137 | - if (! $func($key, $item)) { |
|
| 137 | + if (!$func($key, $item)) { |
|
| 138 | 138 | $result[$key] = $item; |
| 139 | 139 | } |
| 140 | 140 | } |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Zewa\HTTP; |
| 4 | 4 | |
| 5 | 5 | use Zewa\Container; |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | unset($_SESSION[$variable], $this->flashdata[$variable]); |
| 52 | 52 | } else { |
| 53 | 53 | $this->flashdata[$variable]['value'] = $data['value']; |
| 54 | - $this->flashdata[$variable]['increment'] ++; |
|
| 54 | + $this->flashdata[$variable]['increment']++; |
|
| 55 | 55 | } |
| 56 | 56 | } |
| 57 | 57 | |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public function get($key) |
| 39 | 39 | { |
| 40 | - if (! $this->has($key)) { |
|
| 40 | + if (!$this->has($key)) { |
|
| 41 | 41 | throw new LookupException('Container doesn\'t exist.'); |
| 42 | 42 | } |
| 43 | 43 | |