@@ -78,8 +78,8 @@ |
||
78 | 78 | 'GET' |
79 | 79 | ); |
80 | 80 | |
81 | - if($updatedAfter !== null) { $this->addQueryParameter('updated_at_after', $updatedAfter->format('d-m-y H:i:s')); } |
|
82 | - if($updatedBefore !== null) { $this->addQueryParameter('updated_at_before', $updatedBefore->format('d-m-y H:i:s')); } |
|
81 | + if ($updatedAfter !== null) { $this->addQueryParameter('updated_at_after', $updatedAfter->format('d-m-y H:i:s')); } |
|
82 | + if ($updatedBefore !== null) { $this->addQueryParameter('updated_at_before', $updatedBefore->format('d-m-y H:i:s')); } |
|
83 | 83 | |
84 | 84 | $this->enableMode(); |
85 | 85 | $this->enablePagination(); |
@@ -88,7 +88,7 @@ |
||
88 | 88 | $collection = new ResourceCollection(); |
89 | 89 | foreach ($attributeValue as $resource) |
90 | 90 | { |
91 | - try{ |
|
91 | + try { |
|
92 | 92 | $collection->addResource(new $resourceClass($resource)); |
93 | 93 | } catch (\Exception $e) |
94 | 94 | { |
@@ -790,7 +790,7 @@ |
||
790 | 790 | $parsedResource = $this->parseResource($resource); |
791 | 791 | $resources->addResource($parsedResource); |
792 | 792 | } |
793 | - } catch(\Exception $e) { |
|
793 | + } catch (\Exception $e) { |
|
794 | 794 | // See the above TODO |
795 | 795 | } |
796 | 796 | return $resources; |