@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | $limit -= count($result); |
| 75 | 75 | yield $result; |
| 76 | 76 | } |
| 77 | - } while((count($result) > 0) && ($limit > 0)); |
|
| 77 | + } while ((count($result) > 0) && ($limit > 0)); |
|
| 78 | 78 | if ((count($result) === 0) && (!$found)) { |
| 79 | 79 | throw new \Exception( |
| 80 | 80 | 'Can not find any record '.Config::PARSE_FILES_CLASS_NAME.':'.Config::PARSE_FILES_FIELD_NAME.'.' |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | |
| 219 | 219 | $objects = []; |
| 220 | 220 | |
| 221 | - $query->each(function (ParseObject $picture) use ($objects) { |
|
| 221 | + $query->each(function(ParseObject $picture) use ($objects) { |
|
| 222 | 222 | $objects[] = $this->buildDocumentFromParseObject($picture); |
| 223 | 223 | }); |
| 224 | 224 | |