Completed
Push — master ( 24b0e8...de1667 )
by Toby
256:23 queued 191:26
created
src/Resource.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -81,26 +81,26 @@  discard block
 block discarded – undo
81 81
         }
82 82
 
83 83
         $links = [];
84
-        if (! empty($this->links)) {
84
+        if (!empty($this->links)) {
85 85
             $links = $this->links;
86 86
         }
87 87
         $serializerLinks = $this->serializer->getLinks($this->data);
88
-        if (! empty($serializerLinks)) {
88
+        if (!empty($serializerLinks)) {
89 89
             $links = array_merge($serializerLinks, $links);
90 90
         }
91
-        if (! empty($links)) {
91
+        if (!empty($links)) {
92 92
             $array['links'] = $links;
93 93
         }
94 94
 
95 95
         $meta = [];
96
-        if (! empty($this->meta)) {
96
+        if (!empty($this->meta)) {
97 97
             $meta = $this->meta;
98 98
         }
99 99
         $serializerMeta = $this->serializer->getMeta($this->data);
100
-        if (! empty($serializerMeta)) {
100
+        if (!empty($serializerMeta)) {
101 101
             $meta = array_merge($serializerMeta, $meta);
102 102
         }
103
-        if (! empty($meta)) {
103
+        if (!empty($meta)) {
104 104
             $array['meta'] = $meta;
105 105
         }
106 106
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      */
116 116
     public function isIdentifier()
117 117
     {
118
-        return ! is_object($this->data) && ! is_array($this->data);
118
+        return !is_object($this->data) && !is_array($this->data);
119 119
     }
120 120
 
121 121
     /**
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      */
124 124
     public function toIdentifier()
125 125
     {
126
-        if (! $this->data) {
126
+        if (!$this->data) {
127 127
             return null;
128 128
         }
129 129
         
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
             'id' => $this->getId()
133 133
         ];
134 134
 
135
-        if (! empty($this->meta)) {
135
+        if (!empty($this->meta)) {
136 136
             $array['meta'] = $this->meta;
137 137
         }
138 138
 
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      */
157 157
     public function getId()
158 158
     {
159
-        if (! is_object($this->data) && ! is_array($this->data)) {
159
+        if (!is_object($this->data) && !is_array($this->data)) {
160 160
             return (string) $this->data;
161 161
         }
162 162
 
Please login to merge, or discard this patch.