Completed
Branch v2 (f7f89f)
by Pieter
04:28
created
src/Mocks/MockApiResourceRetriever.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
         }
110 110
         $ids = array_slice($cacheItem->get(), $pageIndex * $numberOfItems, $numberOfItems);
111 111
 
112
-        return array_values(array_map(function ($id) use ($resourceClass, &$context) {
112
+        return array_values(array_map(function($id) use ($resourceClass, &$context) {
113 113
             return $this->retrieve($resourceClass, $id, $context);
114 114
         }, $ids));
115 115
     }
Please login to merge, or discard this patch.
src/Exceptions/InvalidIdException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
5 5
 {
6 6
     public function __construct(string $id)
7 7
     {
8
-        parent::__construct(500, 'Id "' . $id. '" is not valid as identifier');
8
+        parent::__construct(500, 'Id "' . $id . '" is not valid as identifier');
9 9
     }
10 10
 }
Please login to merge, or discard this patch.
src/Retrievers/StatusCheckRetriever.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     {
90 90
         $pageIndex = $searchFilterRequest->getPageIndex();
91 91
         $numberOfItems = $searchFilterRequest->getNumberOfItems();
92
-        return new LimitIterator(new RewindableGenerator(function () {
92
+        return new LimitIterator(new RewindableGenerator(function() {
93 93
             return $this->iterate();
94 94
         }), $pageIndex * $numberOfItems, $numberOfItems);
95 95
     }
Please login to merge, or discard this patch.