@@ -15,7 +15,6 @@ |
||
15 | 15 | use eZ\Publish\Core\MVC\Symfony\RequestStackAware; |
16 | 16 | use eZ\Publish\Core\MVC\Symfony\Routing\RouteReference; |
17 | 17 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
18 | -use Symfony\Component\HttpFoundation\Request; |
|
19 | 18 | |
20 | 19 | class RouteReferenceGenerator implements RouteReferenceGeneratorInterface |
21 | 20 | { |
@@ -148,7 +148,7 @@ |
||
148 | 148 | } |
149 | 149 | |
150 | 150 | /** |
151 | - * @param array $excludedUriPrefixes |
|
151 | + * @param string[] $excludedUriPrefixes |
|
152 | 152 | */ |
153 | 153 | public function setExcludedUriPrefixes(array $excludedUriPrefixes) |
154 | 154 | { |
@@ -226,7 +226,7 @@ |
||
226 | 226 | * Fragments are considered as sub-requests (i.e. ESI, Hinclude...). |
227 | 227 | * |
228 | 228 | * @param Request $request |
229 | - * @param $requestType |
|
229 | + * @param integer $requestType |
|
230 | 230 | * |
231 | 231 | * @return bool |
232 | 232 | */ |
@@ -71,7 +71,7 @@ |
||
71 | 71 | /** |
72 | 72 | * Returns matched SiteAccess. |
73 | 73 | * |
74 | - * @return string|bool |
|
74 | + * @return string|false |
|
75 | 75 | */ |
76 | 76 | protected function getMatchedSiteAccess() |
77 | 77 | { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
60 | - * @return string $locale |
|
60 | + * @return string[] $locale |
|
61 | 61 | */ |
62 | 62 | public function getLocale() |
63 | 63 | { |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
68 | - * @return array |
|
68 | + * @return FileSizeExtension[] |
|
69 | 69 | */ |
70 | 70 | protected function getExtensions() |
71 | 71 | { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
86 | - * @return ConfigResolverInterface|\PHPUnit_Framework_MockObject_MockObject |
|
86 | + * @return ConfigResolverInterface |
|
87 | 87 | */ |
88 | 88 | protected function getConfigResolverInterfaceMock() |
89 | 89 | { |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | } |
98 | 98 | |
99 | 99 | /** |
100 | - * @return LocaleConverterInterface|\PHPUnit_Framework_MockObject_MockObject |
|
100 | + * @return LocaleConverterInterface |
|
101 | 101 | */ |
102 | 102 | protected function getLocaleConverterInterfaceMock() |
103 | 103 | { |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | } |
118 | 118 | |
119 | 119 | /** |
120 | - * @return TranslatorInterface|\PHPUnit_Framework_MockObject_MockObject |
|
120 | + * @return TranslatorInterface |
|
121 | 121 | */ |
122 | 122 | protected function getTranslatorInterfaceMock() |
123 | 123 | { |
@@ -64,7 +64,7 @@ |
||
64 | 64 | /** |
65 | 65 | * Returns a list of functions to add to the existing list. |
66 | 66 | * |
67 | - * @return array |
|
67 | + * @return Twig_SimpleFunction[] |
|
68 | 68 | */ |
69 | 69 | public function getFunctions() |
70 | 70 | { |
@@ -26,16 +26,19 @@ discard block |
||
26 | 26 | |
27 | 27 | /** |
28 | 28 | * Begin a transaction. |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function beginTransaction(); |
31 | 32 | |
32 | 33 | /** |
33 | 34 | * Commit a transaction. |
35 | + * @return void |
|
34 | 36 | */ |
35 | 37 | public function commit(); |
36 | 38 | |
37 | 39 | /** |
38 | 40 | * Rollback a transaction. |
41 | + * @return void |
|
39 | 42 | */ |
40 | 43 | public function rollBack(); |
41 | 44 | |
@@ -59,6 +62,7 @@ discard block |
||
59 | 62 | * Execute a query against the database. |
60 | 63 | * |
61 | 64 | * @param string $query |
65 | + * @return void |
|
62 | 66 | */ |
63 | 67 | public function exec($query); |
64 | 68 | |
@@ -67,7 +71,7 @@ discard block |
||
67 | 71 | * |
68 | 72 | * Statements are ducktyped, but need to work like PDOStatement. |
69 | 73 | * |
70 | - * @return object |
|
74 | + * @return \Doctrine\DBAL\Statement |
|
71 | 75 | */ |
72 | 76 | public function prepare($query); |
73 | 77 | |
@@ -137,8 +141,9 @@ discard block |
||
137 | 141 | * |
138 | 142 | * This is an optimization and works around the ezcDB implementation. |
139 | 143 | * |
140 | - * @param string $identifier |
|
141 | 144 | * |
145 | + * @param string $name |
|
146 | + * @param string $alias |
|
142 | 147 | * @return string |
143 | 148 | */ |
144 | 149 | public function alias($name, $alias); |
@@ -167,7 +172,7 @@ discard block |
||
167 | 172 | * @param string $table |
168 | 173 | * @param string $column |
169 | 174 | * |
170 | - * @return mixed |
|
175 | + * @return string |
|
171 | 176 | */ |
172 | 177 | public function getAutoIncrementValue($table, $column); |
173 | 178 | |
@@ -184,7 +189,7 @@ discard block |
||
184 | 189 | /** |
185 | 190 | * Returns underlying connection (e.g. Doctrine connection object). |
186 | 191 | * |
187 | - * @return mixed |
|
192 | + * @return \Doctrine\DBAL\Connection |
|
188 | 193 | */ |
189 | 194 | public function getConnection(); |
190 | 195 | } |
@@ -43,8 +43,6 @@ |
||
43 | 43 | * |
44 | 44 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
45 | 45 | * |
46 | - * @param string|array(string) $... Either a string with a logical expression name |
|
47 | - * or an array with logical expressions. |
|
48 | 46 | * |
49 | 47 | * @return \eZ\Publish\Core\Persistence\Database\DeleteQuery |
50 | 48 | */ |
@@ -90,7 +90,6 @@ discard block |
||
90 | 90 | * |
91 | 91 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
92 | 92 | * |
93 | - * @param string|array(string) $... |
|
94 | 93 | * |
95 | 94 | * @return string an expression |
96 | 95 | */ |
@@ -112,7 +111,6 @@ discard block |
||
112 | 111 | * |
113 | 112 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
114 | 113 | * |
115 | - * @param string|array(string) $... |
|
116 | 114 | * |
117 | 115 | * @return string an expression |
118 | 116 | */ |
@@ -134,7 +132,6 @@ discard block |
||
134 | 132 | * |
135 | 133 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
136 | 134 | * |
137 | - * @param string|array(string) $... |
|
138 | 135 | * |
139 | 136 | * @return string an expression |
140 | 137 | */ |
@@ -156,7 +153,6 @@ discard block |
||
156 | 153 | * |
157 | 154 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
158 | 155 | * |
159 | - * @param string|array(string) $... |
|
160 | 156 | * |
161 | 157 | * @return string an expression |
162 | 158 | */ |
@@ -293,7 +289,6 @@ discard block |
||
293 | 289 | * empty array. |
294 | 290 | * |
295 | 291 | * @param string $column the value that should be matched against |
296 | - * @param string|array(string) $... values that will be matched against $column |
|
297 | 292 | * |
298 | 293 | * @return string logical expression |
299 | 294 | */ |
@@ -458,7 +453,6 @@ discard block |
||
458 | 453 | * concat() accepts an arbitrary number of parameters. Each parameter |
459 | 454 | * must contain an expression or an array with expressions. |
460 | 455 | * |
461 | - * @param string|array(string) $... strings that will be concatinated. |
|
462 | 456 | */ |
463 | 457 | public function concat(); |
464 | 458 |