Completed
Push — l10n_master ( befccb...1664da )
by Kunstmaan
85:38 queued 80:25
created
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.
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.
Kunstmaan/GeneratorBundle/Tests/unit/Generator/DefaultSiteGeneratorTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@
 block discarded – undo
40 40
         unlink(__DIR__ . '/../../_data/' . $basePath . 'Exception/error503.html.twig');
41 41
     }
42 42
 
43
+    /**
44
+     * @param string $path
45
+     */
43 46
     protected function getBundle($path)
44 47
     {
45 48
         $bundle = $this->createMock('Symfony\Component\HttpKernel\Bundle\BundleInterface');
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Service/Translator/CacheValidator.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@  discard block
 block discarded – undo
74 74
         return null;
75 75
     }
76 76
 
77
+    /**
78
+     * @param string $cacheDir
79
+     */
77 80
     public function setCacheDir($cacheDir)
78 81
     {
79 82
         $this->cacheDir = $cacheDir;
@@ -84,6 +87,9 @@  discard block
 block discarded – undo
84 87
         $this->logger = $logger;
85 88
     }
86 89
 
90
+    /**
91
+     * @param \PHPUnit\Framework\MockObject\MockObject $translationRepository
92
+     */
87 93
     public function setTranslationRepository($translationRepository)
88 94
     {
89 95
         $this->translationRepository = $translationRepository;
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
         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/DashboardBundle/Controller/DashboardController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      *
18 18
      * @param \Symfony\Component\HttpFoundation\Request $request
19 19
      *
20
-     * @return array
20
+     * @return \Symfony\Component\HttpFoundation\Response
21 21
      */
22 22
     public function indexAction(Request $request)
23 23
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Event/DeepCloneAndSaveEvent.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     }
31 31
 
32 32
     /**
33
-     * @param mixed $clonedEntity
33
+     * @param \stdClass $clonedEntity
34 34
      *
35 35
      * @return DeepCloneAndSaveEvent
36 36
      */
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @param mixed $entity
53
+     * @param \stdClass $entity
54 54
      *
55 55
      * @return DeepCloneAndSaveEvent
56 56
      */
Please login to merge, or discard this patch.
Tests/unit/Helper/Security/Acl/Permission/PermissionAdminTest.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     /**
147 147
      * Return entity manager mock
148 148
      *
149
-     * @return EntityManager
149
+     * @return \PHPUnit\Framework\MockObject\MockObject
150 150
      */
151 151
     public function getEntityManager()
152 152
     {
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
     /**
159 159
      * Return alc provider mock
160 160
      *
161
-     * @return AclProviderInterface
161
+     * @return \PHPUnit\Framework\MockObject\MockObject
162 162
      */
163 163
     public function getAclProvider()
164 164
     {
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     /**
169 169
      * Return security token storage
170 170
      *
171
-     * @return TokenStorageInterface
171
+     * @return \PHPUnit\Framework\MockObject\MockObject
172 172
      */
173 173
     public function getTokenStorage()
174 174
     {
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
     /**
179 179
      * Return oid retrieval strategy mock
180 180
      *
181
-     * @return ObjectIdentityRetrievalStrategyInterface
181
+     * @return \PHPUnit\Framework\MockObject\MockObject
182 182
      */
183 183
     public function getOidRetrievalStrategy()
184 184
     {
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
     }
205 205
 
206 206
     /**
207
-     * @return KernelInterface
207
+     * @return \PHPUnit\Framework\MockObject\MockObject
208 208
      */
209 209
     public function getKernel()
210 210
     {
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
     /**
267 267
      * Return entity mock
268 268
      *
269
-     * @return AbstractEntity
269
+     * @return \PHPUnit\Framework\MockObject\MockObject
270 270
      */
271 271
     public function getEntity()
272 272
     {
Please login to merge, or discard this patch.