Completed
Pull Request — 5.3 (#2614)
by
unknown
06:14
created
TranslatorBundle/Service/Command/Exporter/ExportCommandHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Service/Translator/CacheValidator.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
FormBundle/Tests/unit/AdminList/FormSubmissionAdminListConfiguratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Tests/unit/AdminList/FormSubmissionExportListConfiguratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
TranslatorBundle/Service/Command/Importer/ImportCommandHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -258,6 +258,9 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
Kunstmaan/NodeSearchBundle/EventListener/NodeIndexUpdateEventListener.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -29,6 +29,10 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Tests/unit/EventListener/NodeIndexUpdateEventListenerTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -146,6 +146,9 @@  discard block
 block discarded – undo
146 146
         $listener = new NodeIndexUpdateEventListener($this->getContainer($this->getSearchConfiguration(false)), $em);
147 147
     }
148 148
 
149
+    /**
150
+     * @param \PHPUnit\Framework\MockObject\MockObject $searchConfigMock
151
+     */
149 152
     private function getContainer($searchConfigMock)
150 153
     {
151 154
         $container = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface');
@@ -160,6 +163,9 @@  discard block
 block discarded – undo
160 163
         return $container;
161 164
     }
162 165
 
166
+    /**
167
+     * @param boolean $expectCall
168
+     */
163 169
     private function getSearchConfiguration($expectCall)
164 170
     {
165 171
         $searchConfig = $this->createMock(NodePagesConfiguration::class);
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Command/InstallCommand.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
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
     {
@@ -63,6 +63,10 @@  discard block
 block discarded – undo
63 63
             );
64 64
     }
65 65
 
66
+    /**
67
+     * @param InputInterface $input
68
+     * @param OutputInterface $output
69
+     */
66 70
     private function initAssistant($input, $output)
67 71
     {
68 72
         if (is_null($this->assistant)) {
@@ -161,6 +165,9 @@  discard block
 block discarded – undo
161 165
         $this->assistant->writeSection('PRO TIP: If you like to use the default frontend setup, run the buildUI.sh script or run the commands separate to compile the frontend assets. ', 'bg=blue;fg=white');
162 166
     }
163 167
 
168
+    /**
169
+     * @param string $command
170
+     */
164 171
     protected function executeCommand(OutputInterface $output, $command, array $options = [])
165 172
     {
166 173
         $options = array_merge(
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Model/Translation/TranslationGroup.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @return mixed
106
+     * @return string
107 107
      */
108 108
     public function getId()
109 109
     {
Please login to merge, or discard this patch.