@@ -41,6 +41,9 @@ |
||
| 41 | 41 | */ |
| 42 | 42 | protected $message; |
| 43 | 43 | |
| 44 | + /** |
|
| 45 | + * @param StatusInterface|null $status |
|
| 46 | + */ |
|
| 44 | 47 | public function __construct($status, $message = '[System]') |
| 45 | 48 | { |
| 46 | 49 | if (!$status instanceof StatusInterface) { |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | /** |
| 130 | 130 | * Gets the name of a file |
| 131 | 131 | * |
| 132 | - * @return mixed |
|
| 132 | + * @return string |
|
| 133 | 133 | */ |
| 134 | 134 | public function getName() |
| 135 | 135 | { |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | /** |
| 198 | 198 | * Gets the uploaded date of a file |
| 199 | 199 | * |
| 200 | - * @return mixed |
|
| 200 | + * @return null|\DateTime |
|
| 201 | 201 | */ |
| 202 | 202 | public function getDateUploaded() |
| 203 | 203 | { |
@@ -233,7 +233,7 @@ discard block |
||
| 233 | 233 | /** |
| 234 | 234 | * Gets the length of the file |
| 235 | 235 | * |
| 236 | - * @return mixed |
|
| 236 | + * @return string|null |
|
| 237 | 237 | */ |
| 238 | 238 | public function getLength() |
| 239 | 239 | { |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | /** |
| 41 | 41 | * List users |
| 42 | 42 | * |
| 43 | - * @return \Zend\Http\Response|ViewModel |
|
| 43 | + * @return \Core\Controller\Plugin\CreatePaginator |
|
| 44 | 44 | */ |
| 45 | 45 | public function listAction() |
| 46 | 46 | { |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | /** |
| 98 | 98 | * Set the allow multiple selections flag. |
| 99 | 99 | * |
| 100 | - * @param Callable|bool $flagOrCallback When a Callable is passed, it must return bool. |
|
| 100 | + * @param \Closure $flagOrCallback When a Callable is passed, it must return bool. |
|
| 101 | 101 | * |
| 102 | 102 | * @return self |
| 103 | 103 | */ |
@@ -93,7 +93,7 @@ |
||
| 93 | 93 | * @param array $data Form values |
| 94 | 94 | * @param Collection $object |
| 95 | 95 | * |
| 96 | - * @return object |
|
| 96 | + * @return NodeInterface |
|
| 97 | 97 | */ |
| 98 | 98 | public function hydrate(array $data, $object) |
| 99 | 99 | { |
@@ -110,7 +110,6 @@ |
||
| 110 | 110 | * @see \Core\Controller\Plugin\SearchForm::get() |
| 111 | 111 | * |
| 112 | 112 | * @param $elementsFieldset |
| 113 | - * @param null $buttonsFieldset |
|
| 114 | 113 | * @param string $as The name of the key in the result array. |
| 115 | 114 | * |
| 116 | 115 | * @return self |
@@ -83,6 +83,11 @@ |
||
| 83 | 83 | return $content; |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | + /** |
|
| 87 | + * @param FormInterface $form |
|
| 88 | + * |
|
| 89 | + * @return null|FormInterface |
|
| 90 | + */ |
|
| 86 | 91 | public function renderElements($form, $colMap = null, $buttonsSpan = null) |
| 87 | 92 | { |
| 88 | 93 | if ($form instanceOf ViewPartialProviderInterface) { |
@@ -36,6 +36,9 @@ discard block |
||
| 36 | 36 | protected $cache; |
| 37 | 37 | |
| 38 | 38 | |
| 39 | + /** |
|
| 40 | + * @param string $uri |
|
| 41 | + */ |
|
| 39 | 42 | public function __construct($uri, $cache = false) |
| 40 | 43 | { |
| 41 | 44 | $this->client = $this->setupClient($uri); |
@@ -90,6 +93,9 @@ discard block |
||
| 90 | 93 | return isset($result[0]) ? $result[0] : false; |
| 91 | 94 | } |
| 92 | 95 | |
| 96 | + /** |
|
| 97 | + * @param string $result |
|
| 98 | + */ |
|
| 93 | 99 | protected function processResult($result) |
| 94 | 100 | { |
| 95 | 101 | return $result; |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | * @param $auth AuthenticationService |
| 62 | 62 | * @param $logger LoggerInterface |
| 63 | 63 | * @param $forms |
| 64 | - * @param $options ModuleOptions |
|
| 64 | + * @param ModuleOptions $options ModuleOptions |
|
| 65 | 65 | */ |
| 66 | 66 | public function __construct(AuthenticationService $auth, LoggerInterface $logger, array $forms, $options) |
| 67 | 67 | { |