@@ -12,11 +12,6 @@ |
||
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 |
@@ -38,7 +38,6 @@ |
||
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) |
@@ -38,7 +38,6 @@ |
||
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 | */ |
@@ -12,8 +12,8 @@ |
||
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 | { |
@@ -12,9 +12,8 @@ |
||
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 |
@@ -12,8 +12,6 @@ |
||
12 | 12 | |
13 | 13 | namespace Apix\Plugin; |
14 | 14 | |
15 | -use Apix\Response; |
|
16 | - |
|
17 | 15 | class OutputDebug extends PluginAbstract |
18 | 16 | { |
19 | 17 |
@@ -187,7 +187,7 @@ discard block |
||
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 |
||
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 |
@@ -162,7 +162,7 @@ |
||
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. |
@@ -12,11 +12,9 @@ |
||
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 |
@@ -55,7 +55,7 @@ |
||
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) |
@@ -12,8 +12,8 @@ |
||
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. |