Completed
Push — master ( cfb38a...7f063e )
by Randy
01:55
created
src/ClassEnsurance.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     public function implements(string $interface): ClassEnsurance
112 112
     {
113 113
         $this->enforce(array_key_exists($interface, class_implements($this->class, true)))
114
-             ->orThrow('"%s" does not implements interface "%s"', $this->class, $interface);
114
+                ->orThrow('"%s" does not implements interface "%s"', $this->class, $interface);
115 115
 
116 116
         return $this;
117 117
     }
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     public function implementsNot(string $interface): ClassEnsurance
125 125
     {
126 126
         $this->enforce(!array_key_exists($interface, class_implements($this->class, true)))
127
-             ->orThrow('"%s" does implements interface "%s"', $this->class, $interface);
127
+                ->orThrow('"%s" does implements interface "%s"', $this->class, $interface);
128 128
 
129 129
         return $this;
130 130
     }
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     public function isParentOf(string $class): ClassEnsurance
138 138
     {
139 139
         $this->enforce(array_key_exists($this->class, class_parents($class, true)))
140
-             ->orThrow('"%s" is not a parent of "%s"', $this->class, $class);
140
+                ->orThrow('"%s" is not a parent of "%s"', $this->class, $class);
141 141
 
142 142
         return $this;
143 143
     }
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
     public function isNotParentOf(string $class): ClassEnsurance
151 151
     {
152 152
         $this->enforce(!array_key_exists($this->class, class_parents($class, true)))
153
-             ->orThrow('"%s" is a parent of "%s"', $this->class, $class);
153
+                ->orThrow('"%s" is a parent of "%s"', $this->class, $class);
154 154
 
155 155
         return $this;
156 156
     }
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     public function uses(string $trait): ClassEnsurance
164 164
     {
165 165
         $this->enforce(array_key_exists($trait, class_uses($this->class, true)))
166
-             ->orThrow('"%s" does not use trait "%s"', $this->class, $trait);
166
+                ->orThrow('"%s" does not use trait "%s"', $this->class, $trait);
167 167
 
168 168
         return $this;
169 169
     }
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     public function hasProperty(string $property): ClassEnsurance
177 177
     {
178 178
         $this->enforce($this->reflection->hasProperty($property))
179
-             ->orThrow('"%s" does not have a property "%s"', $this->class, $property);
179
+                ->orThrow('"%s" does not have a property "%s"', $this->class, $property);
180 180
 
181 181
         return $this;
182 182
     }
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     public function hasMethod(string $method): ClassEnsurance
190 190
     {
191 191
         $this->enforce($this->reflection->hasMethod($method))
192
-             ->orThrow('"%s" does not have a method "%s"', $this->class, $method);
192
+                ->orThrow('"%s" does not have a method "%s"', $this->class, $method);
193 193
 
194 194
         return $this;
195 195
     }
Please login to merge, or discard this patch.