Completed
Push — master ( cf321a...f177e6 )
by Thibaud
07:25
created
src/PhraseanetSDK/Entity/Story.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      */
126 126
     public function getThumbnail()
127 127
     {
128
-        if (! isset($this->source->thumbnail)) {
128
+        if (!isset($this->source->thumbnail)) {
129 129
             return null;
130 130
         }
131 131
 
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
      */
178 178
     public function getRecords()
179 179
     {
180
-        if (! isset($this->source->records)) {
180
+        if (!isset($this->source->records)) {
181 181
             $this->records = new ArrayCollection();
182 182
         }
183 183
 
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      */
190 190
     public function getMetadata()
191 191
     {
192
-        if (! isset($this->source->metadata)) {
192
+        if (!isset($this->source->metadata)) {
193 193
             $this->metadata = new ArrayCollection();
194 194
         }
195 195
 
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
      */
202 202
     public function getStatus()
203 203
     {
204
-        if (! isset($this->status)) {
204
+        if (!isset($this->status)) {
205 205
             $this->status = $this->entityManager->getRepository('recordStatus')->findByRecord(
206 206
                 $this->getDataboxId(),
207 207
                 $this->getStoryId()
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
      */
217 217
     public function getCaption()
218 218
     {
219
-        if (! isset($this->caption)) {
219
+        if (!isset($this->caption)) {
220 220
             $this->caption = $this->entityManager->getRepository('caption')->findByRecord(
221 221
                 $this->getDataboxId(),
222 222
                 $this->getStoryId()
Please login to merge, or discard this patch.
src/PhraseanetSDK/Orders/OrderRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         $parameters = [
24 24
             'page' => max($pageIndex, 0),
25 25
             'per_page' => max($pageSize, 1),
26
-            'includes' => [ 'elements' ],
26
+            'includes' => ['elements'],
27 27
             't' => time()
28 28
         ];
29 29
 
@@ -33,11 +33,11 @@  discard block
 block discarded – undo
33 33
             throw new RuntimeException('Response content is empty');
34 34
         }
35 35
 
36
-        if (! $response->hasProperty('data')) {
36
+        if (!$response->hasProperty('data')) {
37 37
             throw new RuntimeException('Missing \'data\' property in response');
38 38
         }
39 39
 
40
-        if (! $response->hasProperty('meta')) {
40
+        if (!$response->hasProperty('meta')) {
41 41
             throw new RuntimeException('Missing \'meta\' property in response');
42 42
         }
43 43
 
Please login to merge, or discard this patch.