@@ -106,7 +106,7 @@ |
||
| 106 | 106 | * Return action configuration resolver |
| 107 | 107 | * |
| 108 | 108 | * @param OptionsResolver $resolver |
| 109 | - * @param $actionName |
|
| 109 | + * @param string $actionName |
|
| 110 | 110 | * @param Admin|null $admin |
| 111 | 111 | */ |
| 112 | 112 | protected function configureOptionsResolver(OptionsResolver $resolver, $actionName, Admin $admin = null) |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | /** |
| 52 | 52 | * Find an entity by its unique id |
| 53 | 53 | * |
| 54 | - * @param $id |
|
| 54 | + * @param string $id |
|
| 55 | 55 | * @return object |
| 56 | 56 | */ |
| 57 | 57 | public function find($id) |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | /** |
| 65 | 65 | * Save an entity |
| 66 | 66 | * |
| 67 | - * @param $entity |
|
| 67 | + * @param \stdClass $entity |
|
| 68 | 68 | */ |
| 69 | 69 | public function save($entity) |
| 70 | 70 | { |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | /** |
| 77 | 77 | * Remove an entity |
| 78 | 78 | * |
| 79 | - * @param $entity |
|
| 79 | + * @param \stdClass $entity |
|
| 80 | 80 | */ |
| 81 | 81 | public function remove($entity) |
| 82 | 82 | { |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | /** |
| 44 | 44 | * ExtraConfigurationSubscriber constructor |
| 45 | 45 | * |
| 46 | - * @param bool|true $enableExtraConfiguration |
|
| 46 | + * @param boolean $enableExtraConfiguration |
|
| 47 | 47 | * @param EntityManager $entityManager |
| 48 | 48 | * @param ApplicationConfiguration $applicationConfiguration |
| 49 | 49 | */ |
@@ -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); |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | /** |
| 78 | 78 | * Assert that an exception is raised in the given code. |
| 79 | 79 | * |
| 80 | - * @param $exceptionClass |
|
| 80 | + * @param string $exceptionClass |
|
| 81 | 81 | * @param Closure $closure |
| 82 | 82 | */ |
| 83 | 83 | protected function assertExceptionRaised($exceptionClass, Closure $closure) |
@@ -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 | { |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | /** |
| 238 | 238 | * Return a mock of an entity repository |
| 239 | 239 | * |
| 240 | - * @return RepositoryInterface|PHPUnit_Framework_MockObject_MockObject |
|
| 240 | + * @return RepositoryInterface |
|
| 241 | 241 | */ |
| 242 | 242 | protected function mockEntityRepository() |
| 243 | 243 | { |
@@ -275,7 +275,7 @@ discard block |
||
| 275 | 275 | } |
| 276 | 276 | |
| 277 | 277 | /** |
| 278 | - * @return ActionFactory|PHPUnit_Framework_MockObject_MockObject |
|
| 278 | + * @return ActionFactory |
|
| 279 | 279 | */ |
| 280 | 280 | protected function mockActionFactory() |
| 281 | 281 | { |
@@ -317,7 +317,7 @@ discard block |
||
| 317 | 317 | } |
| 318 | 318 | |
| 319 | 319 | /** |
| 320 | - * @return MessageHandlerInterface|PHPUnit_Framework_MockObject_MockObject |
|
| 320 | + * @return MessageHandlerInterface |
|
| 321 | 321 | */ |
| 322 | 322 | protected function mockMessageHandler() |
| 323 | 323 | { |
@@ -340,7 +340,7 @@ discard block |
||
| 340 | 340 | } |
| 341 | 341 | |
| 342 | 342 | /** |
| 343 | - * @return DataProviderInterface|PHPUnit_Framework_MockObject_MockObject |
|
| 343 | + * @return DataProviderInterface |
|
| 344 | 344 | */ |
| 345 | 345 | protected function mockDataProvider() |
| 346 | 346 | { |
@@ -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 | { |
@@ -321,7 +321,7 @@ discard block |
||
| 321 | 321 | /** |
| 322 | 322 | * Return loaded entities |
| 323 | 323 | * |
| 324 | - * @return mixed |
|
| 324 | + * @return ArrayCollection |
|
| 325 | 325 | */ |
| 326 | 326 | public function getEntities() |
| 327 | 327 | { |
@@ -397,7 +397,7 @@ discard block |
||
| 397 | 397 | } |
| 398 | 398 | |
| 399 | 399 | /** |
| 400 | - * @return array |
|
| 400 | + * @return integer[] |
|
| 401 | 401 | */ |
| 402 | 402 | public function getActionNames() |
| 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 | { |