Completed
Push — master ( 4ff2ad...4ba911 )
by Franck
03:40
created
src/php/Apix/Output/Html.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -12,11 +12,6 @@
 block discarded – undo
12 12
 
13 13
 namespace Apix\Output;
14 14
 
15
-use Apix\View\Template,
16
-    Apix\View\View,
17
-    Apix\View\ViewModel,
18
-    Apix\Model;
19
-
20 15
 class Html extends AbstractOutput
21 16
 {
22 17
 
Please login to merge, or discard this patch.
src/php/Apix/Output/Xml/SimpleXml.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,6 @@
 block discarded – undo
38 38
     /**
39 39
      * Array to Simple XML
40 40
      *
41
-     * @param \SimpleXMLElement $xml
42 41
      * @param array             $array
43 42
      */
44 43
     protected function arrayToSimpleXml(\SimpleXMLElement $x, array $array)
Please login to merge, or discard this patch.
src/php/Apix/Output/Xml/XmlWriter.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,6 @@
 block discarded – undo
38 38
     /**
39 39
      * Array to XMLWriter
40 40
      *
41
-     * @param \XmlWriter $xml
42 41
      * @param array      $array
43 42
      * @see https://bugs.php.net/bug.php?id=63589
44 43
      */
Please login to merge, or discard this patch.
src/php/Apix/Plugin/Auth.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace Apix\Plugin;
14 14
 
15
-use Apix\Service,
16
-    Apix\Exception;
15
+use Apix\Service;
16
+use Apix\Exception;
17 17
 
18 18
 class Auth extends PluginAbstractEntity
19 19
 {
Please login to merge, or discard this patch.
src/php/Apix/Plugin/Cors.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace Apix\Plugin;
14 14
 
15
-use Apix\Service,
16
-    Apix\HttpRequest,
17
-    Apix\Exception;
15
+use Apix\Service;
16
+use Apix\HttpRequest;
18 17
 
19 18
 /**
20 19
  * Apix plugin providing Cross-Origin Resource Sharing
Please login to merge, or discard this patch.
src/php/Apix/Plugin/OutputDebug.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@
 block discarded – undo
12 12
 
13 13
 namespace Apix\Plugin;
14 14
 
15
-use Apix\Response;
16
-
17 15
 class OutputDebug extends PluginAbstract
18 16
 {
19 17
 
Please login to merge, or discard this patch.
src/php/Apix/Request.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
      * @param  string  $key
188 188
      * @param  boolean $raw    Set to true to get the raw URL encoded value
189 189
      * @param  string  $filter POSIX character classes e.g. alnum, alpha
190
-     * @return mixed
190
+     * @return string
191 191
      */
192 192
     public function getParam($key, $raw=false, $filter=null)
193 193
     {
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
     /**
423 423
      * Handles gzip decoding
424 424
      *
425
-     * @param  boolean                   $cache Wether to cache the body after decoding.
425
+     * @param string $data
426 426
      * @return string
427 427
      * @throws \BadFunctionCallException
428 428
      * @codeCoverageIgnore
Please login to merge, or discard this patch.
src/php/Apix/Resource/Help.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
     /**
163 163
      * Get the documentation for the provided entity and method.
164 164
      *
165
-     * @param  EntityInterface $entity The Entity object to interact with.
165
+     * @param  Entity $entity The Entity object to interact with.
166 166
      * @param  string|null     $method Optional. The Request-method or all.
167 167
      * @param  string|null     $path   Optional. Request-URI for that entity.
168 168
      * @return array           The entity array documentation.
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,11 +12,9 @@
 block discarded – undo
12 12
 
13 13
 namespace Apix\Resource;
14 14
 
15
-use Apix\Entity,
16
-    Apix\Server,
17
-    Apix\Request,
18
-    Apix\Router,
19
-    Apix\View\ViewModel;
15
+use Apix\Entity;
16
+use Apix\Server;
17
+use Apix\Request;
20 18
 
21 19
 /**
22 20
  * Help
Please login to merge, or discard this patch.
src/php/Apix/Resources.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      * Adds a resource entity.
56 56
      *
57 57
      * @param  string $name     A resource name
58
-     * @param  array  $resource A resource definition array
58
+     * @param  array  $resources A resource definition array
59 59
      * @return Entity
60 60
      */
61 61
     public function add($name, array $resources)
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace Apix;
14 14
 
15
-use Apix\Entity,
16
-    Apix\Entity\EntityInterface;
15
+use Apix\Entity;
16
+use Apix\Entity\EntityInterface;
17 17
 
18 18
 /**
19 19
  * Represents a collection of resources.
Please login to merge, or discard this patch.