@@ -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 |
@@ -45,10 +45,8 @@ |
||
| 45 | 45 | * |
| 46 | 46 | * Proxies to {@link get()} |
| 47 | 47 | * |
| 48 | - * @param string|array $elementsFieldset |
|
| 49 | - * @param null|string $buttonsFieldset |
|
| 50 | 48 | * |
| 51 | - * @return \Core\Form\TextSearchForm |
|
| 49 | + * @return \Core\Form\SearchForm |
|
| 52 | 50 | */ |
| 53 | 51 | public function __invoke($form, $options = null) |
| 54 | 52 | { |
@@ -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; |
@@ -41,7 +41,6 @@ |
||
| 41 | 41 | * Construct the jobboard controller |
| 42 | 42 | * |
| 43 | 43 | * @param Repository\Job $jobRepository |
| 44 | - * @param ListFilter $searchForm |
|
| 45 | 44 | */ |
| 46 | 45 | public function __construct(Repository\Job $jobRepository) |
| 47 | 46 | { |