Completed
Push — master ( 9442e1...116254 )
by Tomas
02:50
created
src/Component/ApiListingControl.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -46,6 +46,9 @@
 block discarded – undo
46 46
         $this->clickCallback->__invoke($method, $version, $package, $apiAction);
47 47
     }
48 48
 
49
+    /**
50
+     * @param \Tomaj\NetteApi\Handlers\ApiHandlerInterface[] $handlers
51
+     */
49 52
     private function sortHandlers($handlers)
50 53
     {
51 54
         $versionHandlers = [];
Please login to merge, or discard this patch.
src/Handlers/EchoHandler.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -7,20 +7,20 @@
 block discarded – undo
7 7
 
8 8
 class EchoHandler extends BaseHandler
9 9
 {
10
-	public function params()
11
-	{
12
-		return [
13
-			new InputParam(InputParam::TYPE_GET, 'status', InputParam::REQUIRED, ['ok', 'error']),
14
-			new InputParam(InputParam::TYPE_GET, 'message'),
15
-		];
16
-	}
10
+    public function params()
11
+    {
12
+        return [
13
+            new InputParam(InputParam::TYPE_GET, 'status', InputParam::REQUIRED, ['ok', 'error']),
14
+            new InputParam(InputParam::TYPE_GET, 'message'),
15
+        ];
16
+    }
17 17
 
18 18
     /**
19 19
      * {@inheritdoc}
20 20
      */
21 21
     public function handle($params)
22 22
     {
23
-    	$status = $params['status'];
23
+        $status = $params['status'];
24 24
         return new ApiResponse(200, ['status' => $status, 'params' => $params]);
25 25
     }
26 26
 }
Please login to merge, or discard this patch.