Completed
Pull Request — master (#61)
by Michal
08:40
created
src/Component/ApiListingControl.php 2 patches
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.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Tomaj\NetteApi\Component;
4 4
 
5
+use Closure;
6
+use Exception;
5 7
 use Nette\Application\UI\Control;
6 8
 use Nette\ComponentModel\IContainer;
7 9
 use Tomaj\NetteApi\ApiDecider;
8
-use Closure;
9
-use Exception;
10 10
 
11 11
 class ApiListingControl extends Control
12 12
 {
Please login to merge, or discard this patch.
src/Response/JsonApiResponse.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,6 @@
 block discarded – undo
32 32
      * to setup response code, content type, charset and expiration
33 33
      *
34 34
      * @param integer $code
35
-     * @param mixed $data
36 35
      * @param string $contentType
37 36
      * @param string $charset
38 37
      * @param bool|DateTimeInterface|int|string $expiration
Please login to merge, or discard this patch.