Completed
Pull Request — master (#101)
by Vladimir
02:07
created
src/allejo/stakx/Server/RouteMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
     /**
101 101
      * Retrieve all of the URL routes registered.
102 102
      *
103
-     * @return string[]
103
+     * @return integer[]
104 104
      */
105 105
     public function getRoutes()
106 106
     {
Please login to merge, or discard this patch.
src/allejo/stakx/Server/WebServer.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,8 @@
 block discarded – undo
60 60
     {
61 61
         $routes = Controller::create($routeMapper, $compiler);
62 62
 
63
-        return new Server(function (ServerRequestInterface $request) use ($routes, $compiler) {
63
+        return new Server(function (ServerRequestInterface $request) use ($routes, $compiler)
64
+        {
64 65
             $httpMethod = $request->getMethod();
65 66
             $urlPath = Controller::normalizeUrl($request->getUri()->getPath());
66 67
 
Please login to merge, or discard this patch.
src/allejo/stakx/Templating/Twig/Extension/OrderFilter.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,8 @@
 block discarded – undo
19 19
             return $array;
20 20
         }
21 21
 
22
-        usort($array, function ($a, $b) use ($key, $order, $case_insensitive) {
22
+        usort($array, function ($a, $b) use ($key, $order, $case_insensitive)
23
+        {
23 24
             $aValue = __::get($a, $key);
24 25
             $bValue = __::get($b, $key);
25 26
 
Please login to merge, or discard this patch.