@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | /** |
| 82 | 82 | * Return the url to edit the given $item |
| 83 | 83 | * |
| 84 | - * @param mixed $item |
|
| 84 | + * @param \PHPUnit\Framework\MockObject\MockObject $item |
|
| 85 | 85 | * |
| 86 | 86 | * @return array |
| 87 | 87 | */ |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | /** |
| 132 | 132 | * Configure if it's possible to delete the given $item |
| 133 | 133 | * |
| 134 | - * @param mixed $item |
|
| 134 | + * @param \PHPUnit\Framework\MockObject\MockObject $item |
|
| 135 | 135 | * |
| 136 | 136 | * @return bool |
| 137 | 137 | */ |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | /** |
| 154 | 154 | * Get the delete url for the given $item |
| 155 | 155 | * |
| 156 | - * @param mixed $item |
|
| 156 | + * @param \PHPUnit\Framework\MockObject\MockObject $item |
|
| 157 | 157 | * |
| 158 | 158 | * @return array |
| 159 | 159 | */ |
@@ -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 | { |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | /** |
| 51 | 51 | * @throws \Exception |
| 52 | 52 | * |
| 53 | - * @return \Doctrine\ORM\EntityManager |
|
| 53 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 54 | 54 | */ |
| 55 | 55 | protected function getMockedEntityManager() |
| 56 | 56 | { |
@@ -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) |
@@ -55,7 +55,6 @@ |
||
| 55 | 55 | * @param AuthorizationCheckerInterface $authorizationChecker |
| 56 | 56 | * @param EntityManagerInterface $em |
| 57 | 57 | * @param array $configuration |
| 58 | - * @param ContainerInterface $container |
|
| 59 | 58 | * @param FormFactoryInterface $formFactory |
| 60 | 59 | */ |
| 61 | 60 | public function __construct( |