@@ -20,6 +20,9 @@ |
||
20 | 20 | } |
21 | 21 | } |
22 | 22 | |
23 | + /** |
|
24 | + * @param string $adminName |
|
25 | + */ |
|
23 | 26 | protected function doTestAdmin(AdminInterface $admin, array $configuration, $adminName) |
24 | 27 | { |
25 | 28 | $this->assertEquals($admin->getName(), $adminName); |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | * ApplicationConfiguration constructor. |
119 | 119 | * |
120 | 120 | * @param array $applicationConfiguration |
121 | - * @param $locale |
|
121 | + * @param string $locale |
|
122 | 122 | */ |
123 | 123 | public function __construct(array $applicationConfiguration = [], $locale) |
124 | 124 | { |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | } |
224 | 224 | |
225 | 225 | /** |
226 | - * @return mixed |
|
226 | + * @return string |
|
227 | 227 | */ |
228 | 228 | public function getTitle() |
229 | 229 | { |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | } |
240 | 240 | |
241 | 241 | /** |
242 | - * @return mixed |
|
242 | + * @return string |
|
243 | 243 | */ |
244 | 244 | public function getLayout() |
245 | 245 | { |
@@ -255,7 +255,7 @@ discard block |
||
255 | 255 | } |
256 | 256 | |
257 | 257 | /** |
258 | - * @return mixed |
|
258 | + * @return string |
|
259 | 259 | */ |
260 | 260 | public function getBlockTemplate() |
261 | 261 | { |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | } |
272 | 272 | |
273 | 273 | /** |
274 | - * @return mixed |
|
274 | + * @return string |
|
275 | 275 | */ |
276 | 276 | public function getDescription() |
277 | 277 | { |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | } |
304 | 304 | |
305 | 305 | /** |
306 | - * @return mixed |
|
306 | + * @return string |
|
307 | 307 | */ |
308 | 308 | public function getDateFormat() |
309 | 309 | { |
@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | } |
398 | 398 | |
399 | 399 | /** |
400 | - * @return mixed |
|
400 | + * @return integer |
|
401 | 401 | */ |
402 | 402 | public function getStringLengthTruncate() |
403 | 403 | { |
@@ -139,7 +139,7 @@ |
||
139 | 139 | /** |
140 | 140 | * @param AdminInterface $admin |
141 | 141 | * @param array $configuration |
142 | - * @param $adminName |
|
142 | + * @param string $adminName |
|
143 | 143 | */ |
144 | 144 | protected function doTestAdmin(AdminInterface $admin, array $configuration, $adminName) |
145 | 145 | { |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | /** |
157 | 157 | * Check if user is allowed to be here |
158 | 158 | * |
159 | - * @param UserInterface|string $user |
|
159 | + * @param null|\Symfony\Component\Security\Core\User\User $user |
|
160 | 160 | * @throws Exception |
161 | 161 | */ |
162 | 162 | public function checkPermissions($user) |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | /** |
326 | 326 | * Return loaded entities |
327 | 327 | * |
328 | - * @return mixed |
|
328 | + * @return ArrayCollection |
|
329 | 329 | */ |
330 | 330 | public function getEntities() |
331 | 331 | { |
@@ -401,7 +401,7 @@ discard block |
||
401 | 401 | } |
402 | 402 | |
403 | 403 | /** |
404 | - * @return array |
|
404 | + * @return integer[] |
|
405 | 405 | */ |
406 | 406 | public function getActionNames() |
407 | 407 | { |
@@ -124,8 +124,8 @@ discard block |
||
124 | 124 | } |
125 | 125 | |
126 | 126 | /** |
127 | - * @param $name |
|
128 | - * @param $configuration |
|
127 | + * @param string $name |
|
128 | + * @param \LAG\AdminBundle\Admin\Configuration\AdminConfiguration $configuration |
|
129 | 129 | * @return Admin |
130 | 130 | */ |
131 | 131 | protected function mockAdmin($name, $configuration) |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | |
141 | 141 | /** |
142 | 142 | * @param $name |
143 | - * @return ActionInterface|PHPUnit_Framework_MockObject_MockObject |
|
143 | + * @return ActionInterface |
|
144 | 144 | */ |
145 | 145 | protected function mockAction($name) |
146 | 146 | { |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | /** |
243 | 243 | * Return a mock of an entity repository |
244 | 244 | * |
245 | - * @return RepositoryInterface|PHPUnit_Framework_MockObject_MockObject |
|
245 | + * @return RepositoryInterface |
|
246 | 246 | */ |
247 | 247 | protected function mockEntityRepository() |
248 | 248 | { |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | } |
281 | 281 | |
282 | 282 | /** |
283 | - * @return ActionFactory|PHPUnit_Framework_MockObject_MockObject |
|
283 | + * @return ActionFactory |
|
284 | 284 | */ |
285 | 285 | protected function mockActionFactory() |
286 | 286 | { |
@@ -322,7 +322,7 @@ discard block |
||
322 | 322 | } |
323 | 323 | |
324 | 324 | /** |
325 | - * @return MessageHandlerInterface|PHPUnit_Framework_MockObject_MockObject |
|
325 | + * @return MessageHandlerInterface |
|
326 | 326 | */ |
327 | 327 | protected function mockMessageHandler() |
328 | 328 | { |
@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | } |
346 | 346 | |
347 | 347 | /** |
348 | - * @return DataProviderInterface|PHPUnit_Framework_MockObject_MockObject |
|
348 | + * @return DataProviderInterface |
|
349 | 349 | */ |
350 | 350 | protected function mockDataProvider() |
351 | 351 | { |