@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * You can override this method to return the correct entity manager when using multiple databases ... |
19 | 19 | * |
20 | - * @return \Doctrine\Common\Persistence\ObjectManager|object |
|
20 | + * @return \Doctrine\Persistence\ObjectManager |
|
21 | 21 | */ |
22 | 22 | protected function getEntityManager() |
23 | 23 | { |
@@ -29,6 +29,8 @@ discard block |
||
29 | 29 | |
30 | 30 | /** |
31 | 31 | * {@inheritdoc} |
32 | + * @param string $path |
|
33 | + * @param string $filter |
|
32 | 34 | */ |
33 | 35 | protected function getFileUrl($path, $filter) |
34 | 36 | { |
@@ -75,6 +77,7 @@ discard block |
||
75 | 77 | |
76 | 78 | /** |
77 | 79 | * Copy from \Liip\ImagineBundle\Imagine\Cache\Resolver\WebPathResolver::getFullPath |
80 | + * @param string $path |
|
78 | 81 | */ |
79 | 82 | private function getFullPath($path, $filter) |
80 | 83 | { |
@@ -47,7 +47,6 @@ |
||
47 | 47 | /** |
48 | 48 | * NodeTranslationListener constructor. |
49 | 49 | * |
50 | - * @param SessionInterface|FlashBagInterface $session |
|
51 | 50 | * @param LoggerInterface $logger |
52 | 51 | * @param SlugifierInterface $slugifier |
53 | 52 | * @param RequestStack $requestStack |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | private $shouldStop = false; |
37 | 37 | |
38 | 38 | /** |
39 | - * @param string $rootDir |
|
39 | + * @param string $projectDir |
|
40 | 40 | */ |
41 | 41 | public function __construct(string $projectDir) |
42 | 42 | { |
@@ -64,6 +64,10 @@ discard block |
||
64 | 64 | ); |
65 | 65 | } |
66 | 66 | |
67 | + /** |
|
68 | + * @param InputInterface $input |
|
69 | + * @param OutputInterface $output |
|
70 | + */ |
|
67 | 71 | private function initAssistant($input, $output) |
68 | 72 | { |
69 | 73 | if (is_null($this->assistant)) { |
@@ -171,6 +175,9 @@ discard block |
||
171 | 175 | return 0; |
172 | 176 | } |
173 | 177 | |
178 | + /** |
|
179 | + * @param string $command |
|
180 | + */ |
|
174 | 181 | protected function executeCommand(OutputInterface $output, $command, array $options = [], $separateProcess = false) |
175 | 182 | { |
176 | 183 | $options = array_merge(['--no-debug' => true], $options); |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | } |
64 | 64 | |
65 | 65 | /** |
66 | - * @return array |
|
66 | + * @return string[] |
|
67 | 67 | */ |
68 | 68 | public function getHosts() |
69 | 69 | { |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | } |
166 | 166 | |
167 | 167 | /** |
168 | - * @param string|int $id |
|
168 | + * @param integer $id |
|
169 | 169 | */ |
170 | 170 | public function getFullHostById($id) |
171 | 171 | { |
@@ -35,6 +35,9 @@ discard block |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param ContainerInterface|string $multilanguage |
38 | + * @param \PHPUnit\Framework\MockObject\MockObject $requestStack |
|
39 | + * @param string $defaultLocale |
|
40 | + * @param string $requiredLocales |
|
38 | 41 | */ |
39 | 42 | public function __construct(/*ContainerInterface|RequestStack*/ $requestStack, $multilanguage = null, $defaultLocale = null, $requiredLocales = null, AdminRouteHelper $adminRouteHelper = null, EntityManagerInterface $em = null, array $hosts = null) |
40 | 43 | { |
@@ -291,7 +294,7 @@ discard block |
||
291 | 294 | } |
292 | 295 | |
293 | 296 | /** |
294 | - * @param string|int $id |
|
297 | + * @param integer $id |
|
295 | 298 | * |
296 | 299 | * @return array |
297 | 300 | */ |
@@ -219,7 +219,7 @@ |
||
219 | 219 | * |
220 | 220 | * @Route("/{id}/delete", requirements={"id" = "\d+"}, name="KunstmaanUserManagementBundle_settings_users_delete", methods={"POST"}) |
221 | 221 | * |
222 | - * @return array |
|
222 | + * @return RedirectResponse |
|
223 | 223 | * |
224 | 224 | * @throws AccessDeniedException |
225 | 225 | * |
@@ -120,7 +120,7 @@ |
||
120 | 120 | } |
121 | 121 | |
122 | 122 | /** |
123 | - * @return array|mixed|\Traversable |
|
123 | + * @return \Pagerfanta\iterable|null |
|
124 | 124 | */ |
125 | 125 | public function getItems() |
126 | 126 | { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * Return the url to edit the given $item |
61 | 61 | * |
62 | - * @param object $item |
|
62 | + * @param \Kunstmaan\AdminListBundle\Tests\AdminList\Configurator\anonymous//src/Kunstmaan/AdminListBundle/Tests/unit/AdminList/Configurator/AbstractDoctrineORMAdminListConfiguratorTest.php$0 $item |
|
63 | 63 | * |
64 | 64 | * @return array |
65 | 65 | */ |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | /** |
78 | 78 | * Get the delete url for the given $item |
79 | 79 | * |
80 | - * @param object $item |
|
80 | + * @param \Kunstmaan\AdminListBundle\Tests\AdminList\Configurator\anonymous//src/Kunstmaan/AdminListBundle/Tests/unit/AdminList/Configurator/AbstractDoctrineORMAdminListConfiguratorTest.php$1 $item |
|
81 | 81 | * |
82 | 82 | * @return array |
83 | 83 | */ |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | } |
126 | 126 | |
127 | 127 | /** |
128 | - * @return array|Traversable |
|
128 | + * @return \Pagerfanta\iterable|null |
|
129 | 129 | */ |
130 | 130 | public function getItems() |
131 | 131 | { |