@@ -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 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * Retrieve a Datetime of the oldest cache file made |
50 | 50 | * |
51 | - * @return DateTime mtime of oldest cache file |
|
51 | + * @return null|\DateTime mtime of oldest cache file |
|
52 | 52 | */ |
53 | 53 | public function getOldestCachefileDate() |
54 | 54 | { |
@@ -72,6 +72,9 @@ discard block |
||
72 | 72 | return null; |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param string $cacheDir |
|
77 | + */ |
|
75 | 78 | public function setCacheDir($cacheDir) |
76 | 79 | { |
77 | 80 | $this->cacheDir = $cacheDir; |
@@ -82,6 +85,9 @@ discard block |
||
82 | 85 | $this->logger = $logger; |
83 | 86 | } |
84 | 87 | |
88 | + /** |
|
89 | + * @param \PHPUnit\Framework\MockObject\MockObject $translationRepository |
|
90 | + */ |
|
85 | 91 | public function setTranslationRepository($translationRepository) |
86 | 92 | { |
87 | 93 | $this->translationRepository = $translationRepository; |
@@ -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'); |