@@ -9,8 +9,14 @@ |
||
9 | 9 | */ |
10 | 10 | interface DataCollectionInterface |
11 | 11 | { |
12 | + /** |
|
13 | + * @return AbstractDataCollector |
|
14 | + */ |
|
12 | 15 | public function setTemplate($template); |
13 | 16 | |
17 | + /** |
|
18 | + * @return string |
|
19 | + */ |
|
14 | 20 | public function getTemplate(); |
15 | 21 | |
16 | 22 | public function getAccessRoles(); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * @return array |
|
24 | + * @return string[] |
|
25 | 25 | */ |
26 | 26 | public function getAccessRoles() |
27 | 27 | { |
@@ -227,6 +227,11 @@ |
||
227 | 227 | return $translation; |
228 | 228 | } |
229 | 229 | |
230 | + /** |
|
231 | + * @param string $string |
|
232 | + * |
|
233 | + * @return string |
|
234 | + */ |
|
230 | 235 | private function incrementString($string, $append = '-v') |
231 | 236 | { |
232 | 237 | $finalDigitGrabberRegex = '/\d+$/'; |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * Check if this parser is applicable |
13 | 13 | * |
14 | - * @return bool |
|
14 | + * @return integer |
|
15 | 15 | */ |
16 | 16 | public function canParse($value) |
17 | 17 | { |
@@ -34,7 +34,7 @@ |
||
34 | 34 | /** |
35 | 35 | * @param int $percentage |
36 | 36 | * |
37 | - * @return AfterXScrollPercent |
|
37 | + * @return AfterXScrollPercentRule |
|
38 | 38 | */ |
39 | 39 | public function setPercentage($percentage) |
40 | 40 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * @param string $locale |
32 | 32 | * |
33 | - * @return LocaleWhitelistRule |
|
33 | + * @return LocaleBlacklistRule |
|
34 | 34 | */ |
35 | 35 | public function setLocale($locale) |
36 | 36 | { |
@@ -103,6 +103,9 @@ discard block |
||
103 | 103 | return true; |
104 | 104 | } |
105 | 105 | |
106 | + /** |
|
107 | + * @param \stdClass $item |
|
108 | + */ |
|
106 | 109 | public function getAliasObj($item) |
107 | 110 | { |
108 | 111 | $relation = $this->alias->getRelation(); |
@@ -115,6 +118,9 @@ discard block |
||
115 | 118 | return $item; |
116 | 119 | } |
117 | 120 | |
121 | + /** |
|
122 | + * @param string $column |
|
123 | + */ |
|
118 | 124 | public function getColumnName($column) |
119 | 125 | { |
120 | 126 | $abbr = $this->alias->getAbbr().'.'; |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
63 | - * @param mixed $item |
|
63 | + * @param \stdClass $item |
|
64 | 64 | * |
65 | 65 | * @return string |
66 | 66 | */ |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @param mixed $item |
|
73 | + * @param \stdClass $item |
|
74 | 74 | * |
75 | 75 | * @return string |
76 | 76 | */ |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | } |
115 | 115 | |
116 | 116 | /** |
117 | - * @param mixed $item |
|
117 | + * @param \Kunstmaan\NodeBundle\Helper\NodeMenuItem $item |
|
118 | 118 | * |
119 | 119 | * @return array |
120 | 120 | */ |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | /** |
133 | 133 | * Get the delete url for the given $item |
134 | 134 | * |
135 | - * @param object $item |
|
135 | + * @param \Kunstmaan\NodeBundle\Helper\NodeMenuItem $item |
|
136 | 136 | * |
137 | 137 | * @return array |
138 | 138 | */ |