@@ -165,7 +165,7 @@ |
||
165 | 165 | } |
166 | 166 | |
167 | 167 | /** |
168 | - * @param $translationRepository |
|
168 | + * @param \PHPUnit\Framework\MockObject\MockObject $translationRepository |
|
169 | 169 | */ |
170 | 170 | public function setTranslationRepository($translationRepository) |
171 | 171 | { |
@@ -39,7 +39,7 @@ |
||
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
42 | - * @return \Doctrine\ORM\EntityManager |
|
42 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
43 | 43 | */ |
44 | 44 | protected function getMockedEntityManager() |
45 | 45 | { |
@@ -39,7 +39,7 @@ |
||
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
42 | - * @return \Doctrine\ORM\EntityManager |
|
42 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
43 | 43 | */ |
44 | 44 | protected function getMockedEntityManager() |
45 | 45 | { |
@@ -258,6 +258,9 @@ |
||
258 | 258 | $this->importer = $importer; |
259 | 259 | } |
260 | 260 | |
261 | + /** |
|
262 | + * @param ImportCommand $importCommand |
|
263 | + */ |
|
261 | 264 | private function importSf4TranslationFiles($importCommand) |
262 | 265 | { |
263 | 266 | $finder = $this->translationFileExplorer->find($this->kernel->getProjectDir(), $this->determineLocalesToImport($importCommand), 'translations'); |
@@ -29,6 +29,10 @@ |
||
29 | 29 | /** @var array */ |
30 | 30 | private $entityChangeSet; |
31 | 31 | |
32 | + /** |
|
33 | + * @param \PHPUnit\Framework\MockObject\MockObject $nodePagesConfiguration |
|
34 | + * @param \PHPUnit\Framework\MockObject\MockObject $em |
|
35 | + */ |
|
32 | 36 | public function __construct(/* NodePagesConfiguration */ |
33 | 37 | $nodePagesConfiguration, /* EntityManagerInterface */ |
34 | 38 | $em = null) |
@@ -16,7 +16,7 @@ |
||
16 | 16 | /** |
17 | 17 | * Returns a list of functions to add to the existing list. |
18 | 18 | * |
19 | - * @return array An array of functions |
|
19 | + * @return TwigFunction[] An array of functions |
|
20 | 20 | */ |
21 | 21 | public function getFunctions() |
22 | 22 | { |
@@ -14,7 +14,7 @@ |
||
14 | 14 | /** |
15 | 15 | * Get Twig filters defined in this extension. |
16 | 16 | * |
17 | - * @return array |
|
17 | + * @return TwigFilter[] |
|
18 | 18 | */ |
19 | 19 | public function getFilters() |
20 | 20 | { |
@@ -28,7 +28,7 @@ |
||
28 | 28 | /** |
29 | 29 | * Get Twig functions defined in this extension. |
30 | 30 | * |
31 | - * @return array |
|
31 | + * @return TwigFunction[] |
|
32 | 32 | */ |
33 | 33 | public function getFunctions() |
34 | 34 | { |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | /** |
13 | 13 | * Get Twig functions defined in this extension. |
14 | 14 | * |
15 | - * @return array |
|
15 | + * @return TwigFunction[] |
|
16 | 16 | */ |
17 | 17 | public function getFunctions() |
18 | 18 | { |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | /** |
25 | 25 | * Return the admin menu MenuBuilder. |
26 | 26 | * |
27 | - * @return MenuBuilder |
|
27 | + * @return boolean |
|
28 | 28 | */ |
29 | 29 | public function hideSidebarInNodeEditAdmin($node) |
30 | 30 | { |