Completed
Push — master ( ae75f4...5b5380 )
by Toby
67:07
created
src/Resource.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -81,14 +81,14 @@  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
 
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     public function isIdentifier()
105 105
     {
106
-        return ! is_object($this->data) && ! is_array($this->data);
106
+        return !is_object($this->data) && !is_array($this->data);
107 107
     }
108 108
 
109 109
     /**
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
             'id' => $this->getId()
117 117
         ];
118 118
 
119
-        if (! empty($this->meta)) {
119
+        if (!empty($this->meta)) {
120 120
             $array['meta'] = $this->meta;
121 121
         }
122 122
 
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      */
141 141
     public function getId()
142 142
     {
143
-        if (! is_object($this->data) && ! is_array($this->data)) {
143
+        if (!is_object($this->data) && !is_array($this->data)) {
144 144
             return (string) $this->data;
145 145
         }
146 146
 
Please login to merge, or discard this patch.