Passed
Push — v2 ( c7d513...0abf20 )
by Brice
02:52 queued 14s
created
src/Infrastructure/RedisQueue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
         }
164 164
 
165 165
         // Order Tasks
166
-        usort($tasks, function ($a, $b) use ($orderBy) {
166
+        usort($tasks, function($a, $b) use ($orderBy) {
167 167
             $aValue = $a[$orderBy];
168 168
             $bValue = $b[$orderBy];
169 169
 
Please login to merge, or discard this patch.
src/Application/Http/ApiRouting.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@
 block discarded – undo
17 17
      */
18 18
     public static function createFromCache(string $dir, bool $disable = false): Dispatcher
19 19
     {
20
-        return cachedDispatcher(function (RouteCollector $r) {
20
+        return cachedDispatcher(function(RouteCollector $r) {
21 21
 
22
-             $r->get( '/tasks',             ListTasks::class );
23
-            $r->post( '/tasks',             AddTask::class   );
24
-             $r->get( '/task/{identifier}', ShowTask::class  );
22
+             $r->get('/tasks', ListTasks::class);
23
+            $r->post('/tasks', AddTask::class);
24
+             $r->get('/task/{identifier}', ShowTask::class);
25 25
 
26 26
         }, [
27 27
             'cacheFile' => $dir,
Please login to merge, or discard this patch.