Completed
Pull Request — master (#4)
by Angelo
03:24
created
src/Moka/Proxy/ProxyContainer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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
 block discarded – undo
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(sprintf('The mock object with id "%s" is not found', $id));
38 38
         }
39 39
 
Please login to merge, or discard this patch.
src/Moka/Exception/InvalidArgumentException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Moka/Stub/Stub.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Stub;
5 5
 
Please login to merge, or discard this patch.
src/Moka/Stub/StubSet.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Stub;
5 5
 
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      */
21 21
     public function add($elem)
22 22
     {
23
-        if (!$elem instanceof Stub) {
23
+        if ( ! $elem instanceof Stub) {
24 24
             throw new InvalidArgumentException(
25 25
                 sprintf(
26 26
                     'The first parameter must be an instance of %s but of type %s given',
Please login to merge, or discard this patch.