@@ -41,9 +41,7 @@ discard block |
||
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | - * @param User $user |
|
| 45 | - * @param Router $router |
|
| 46 | - * @return ListInterface[] |
|
| 44 | + * @return \Zend\EventManager\ResponseCollection |
|
| 47 | 45 | */ |
| 48 | 46 | public function getLists() |
| 49 | 47 | { |
@@ -52,8 +50,7 @@ discard block |
||
| 52 | 50 | |
| 53 | 51 | /** |
| 54 | 52 | * @param User $user |
| 55 | - * @param Router $router |
|
| 56 | - * @return \Zend\EventManager\ResponseCollection |
|
| 53 | + * @return boolean |
|
| 57 | 54 | */ |
| 58 | 55 | public function removeItems(User $user) |
| 59 | 56 | { |
@@ -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 | { |
@@ -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) { |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | /** |
| 90 | 90 | * exclude methods from the automatism |
| 91 | 91 | * |
| 92 | - * @param $methods |
|
| 92 | + * @param string[] $methods |
|
| 93 | 93 | */ |
| 94 | 94 | public function setExcludeMethods($methods) |
| 95 | 95 | { |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | { |
| 24 | 24 | /** |
| 25 | 25 | * @param $data |
| 26 | - * @return mixed |
|
| 26 | + * @return Snapshot |
|
| 27 | 27 | * @ODM\PreUpdate |
| 28 | 28 | */ |
| 29 | 29 | public function __invoke($data) |