@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Plugin\PHPUnit; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Plugin\PHPUnit; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Plugin\PHPUnit; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Plugin; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Proxy; |
| 5 | 5 | |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function get($id): ProxyInterface |
| 35 | 35 | { |
| 36 | - if (!$this->has($id)) { |
|
| 36 | + if ( ! $this->has($id)) { |
|
| 37 | 37 | throw new InvalidIdentifierException( |
| 38 | 38 | sprintf( |
| 39 | 39 | 'Cannot find mock object with identifier "%s"', |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Proxy; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Proxy; |
| 5 | 5 | |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | */ |
| 76 | 76 | protected function doCall(string $name, array $arguments) |
| 77 | 77 | { |
| 78 | - if (!$this->__moka_mockingStrategy instanceof MockingStrategyInterface) { |
|
| 78 | + if ( ! $this->__moka_mockingStrategy instanceof MockingStrategyInterface) { |
|
| 79 | 79 | return null; |
| 80 | 80 | } |
| 81 | 81 | |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | */ |
| 91 | 91 | protected function doGet(string $name) |
| 92 | 92 | { |
| 93 | - if (!$this->__moka_mockingStrategy instanceof MockingStrategyInterface) { |
|
| 93 | + if ( ! $this->__moka_mockingStrategy instanceof MockingStrategyInterface) { |
|
| 94 | 94 | return null; |
| 95 | 95 | } |
| 96 | 96 | |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | private $__moka_methods = []; |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | - * @return object |
|
| 38 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 39 | 39 | */ |
| 40 | 40 | public function __moka_getMock() |
| 41 | 41 | { |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Stub; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Stub; |
| 5 | 5 | |