@@ -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 | { |
@@ -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 | { |
@@ -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) |