Completed
Pull Request — master (#143)
by Anton
126:21 queued 61:16
created
src/PolymorphicCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $resources = [];
42 42
 
43 43
         foreach ($data as $resource) {
44
-            if (! ($resource instanceof Resource)) {
44
+            if (!($resource instanceof Resource)) {
45 45
                 $resource = new Resource($resource, $serializers->getFromSerializable($resource));
46 46
             }
47 47
 
Please login to merge, or discard this patch.
src/AbstractSerializerRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     {
31 31
         $class = get_class($serializable);
32 32
 
33
-        if (! isset($this->serializers[$class])) {
33
+        if (!isset($this->serializers[$class])) {
34 34
             throw new RuntimeException("Serializer with name `{$class}` is not exists");
35 35
         }
36 36
 
Please login to merge, or discard this patch.