Completed
Push — master ( 8e9858...ee369b )
by Kirill
02:43
created
src/Query.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
      */
257 257
     public function add(CriterionInterface $criterion): self
258 258
     {
259
-        if (! $criterion->isAttached()) {
259
+        if (!$criterion->isAttached()) {
260 260
             $criterion->attach($this);
261 261
         }
262 262
 
@@ -352,14 +352,14 @@  discard block
 block discarded – undo
352 352
      */
353 353
     public function except($filter): Query
354 354
     {
355
-        if (\is_string($filter) && ! \is_callable($filter)) {
356
-            return $this->only(function (CriterionInterface $criterion) use ($filter): bool {
357
-                return ! $criterion instanceof $filter;
355
+        if (\is_string($filter) && !\is_callable($filter)) {
356
+            return $this->only(function(CriterionInterface $criterion) use ($filter): bool {
357
+                return !$criterion instanceof $filter;
358 358
             });
359 359
         }
360 360
 
361
-        return $this->only(function (CriterionInterface $criterion) use ($filter): bool {
362
-            return ! $filter($criterion);
361
+        return $this->only(function(CriterionInterface $criterion) use ($filter): bool {
362
+            return !$filter($criterion);
363 363
         });
364 364
     }
365 365
 
@@ -392,10 +392,10 @@  discard block
 block discarded – undo
392 392
     {
393 393
         \assert(\is_string($filter) || \is_callable($filter));
394 394
 
395
-        if (\is_string($filter) && ! \is_callable($filter)) {
395
+        if (\is_string($filter) && !\is_callable($filter)) {
396 396
             $typeOf = $filter;
397 397
 
398
-            return function (CriterionInterface $criterion) use ($typeOf): bool {
398
+            return function(CriterionInterface $criterion) use ($typeOf): bool {
399 399
                 return $criterion instanceof $typeOf;
400 400
             };
401 401
         }
Please login to merge, or discard this patch.