Completed
Push — master ( 2a10f7...51895c )
by Alberto
16s
created
src/Moka/Strategy/AbstractMockingStrategy.php 1 patch
Spacing   +3 added lines, -3 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\Strategy;
5 5
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     {
100 100
         $this->verifyMockType();
101 101
 
102
-        if (!is_a($mock, $this->mockType)) {
102
+        if ( ! is_a($mock, $this->mockType)) {
103 103
             throw new InvalidArgumentException(
104 104
                 sprintf(
105 105
                     'Mock must be of type "%s", "%s" given',
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     private function verifyMockType()
138 138
     {
139
-        if (!$this->mockType) {
139
+        if ( ! $this->mockType) {
140 140
             throw new NotImplementedException('Mock type was not defined');
141 141
         }
142 142
     }
Please login to merge, or discard this patch.