Completed
Pull Request — 5.6 (#2833)
by Oskar
28:44 queued 13:47
created
src/Kunstmaan/AdminListBundle/Controller/EntityLockCheckController.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
      * You can override this method to return the correct entity manager when using multiple databases ...
19 19
      *
20
-     * @return \Doctrine\Common\Persistence\ObjectManager|object
20
+     * @return \Doctrine\Persistence\ObjectManager
21 21
      */
22 22
     protected function getEntityManager()
23 23
     {
Please login to merge, or discard this patch.
src/Kunstmaan/MediaBundle/Helper/Imagine/WebPathResolver.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,8 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * {@inheritdoc}
32
+     * @param string $path
33
+     * @param string $filter
32 34
      */
33 35
     protected function getFileUrl($path, $filter)
34 36
     {
@@ -75,6 +77,7 @@  discard block
 block discarded – undo
75 77
 
76 78
     /**
77 79
      * Copy from \Liip\ImagineBundle\Imagine\Cache\Resolver\WebPathResolver::getFullPath
80
+     * @param string $path
78 81
      */
79 82
     private function getFullPath($path, $filter)
80 83
     {
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
     {
@@ -64,6 +64,10 @@  discard block
 block discarded – undo
64 64
             );
65 65
     }
66 66
 
67
+    /**
68
+     * @param InputInterface $input
69
+     * @param OutputInterface $output
70
+     */
67 71
     private function initAssistant($input, $output)
68 72
     {
69 73
         if (is_null($this->assistant)) {
@@ -171,6 +175,9 @@  discard block
 block discarded – undo
171 175
         return 0;
172 176
     }
173 177
 
178
+    /**
179
+     * @param string $command
180
+     */
174 181
     protected function executeCommand(OutputInterface $output, $command, array $options = [], $separateProcess = false)
175 182
     {
176 183
         $options = array_merge(['--no-debug' => true], $options);
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Helper/DomainConfiguration.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     }
64 64
 
65 65
     /**
66
-     * @return array
66
+     * @return string[]
67 67
      */
68 68
     public function getHosts()
69 69
     {
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
     }
166 166
 
167 167
     /**
168
-     * @param string|int $id
168
+     * @param integer $id
169 169
      */
170 170
     public function getFullHostById($id)
171 171
     {
Please login to merge, or discard this patch.
src/Kunstmaan/MultiDomainBundle/Helper/DomainConfiguration.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param ContainerInterface|string $multilanguage
38
+     * @param \PHPUnit\Framework\MockObject\MockObject $requestStack
39
+     * @param string $defaultLocale
40
+     * @param string $requiredLocales
38 41
      */
39 42
     public function __construct(/*ContainerInterface|RequestStack*/ $requestStack, $multilanguage = null, $defaultLocale = null, $requiredLocales = null, AdminRouteHelper $adminRouteHelper = null, EntityManagerInterface $em = null, array $hosts = null)
40 43
     {
@@ -291,7 +294,7 @@  discard block
 block discarded – undo
291 294
     }
292 295
 
293 296
     /**
294
-     * @param string|int $id
297
+     * @param integer $id
295 298
      *
296 299
      * @return array
297 300
      */
Please login to merge, or discard this patch.
AdminList/Configurator/AbstractDoctrineDBALAdminListConfigurator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
     }
121 121
 
122 122
     /**
123
-     * @return array|mixed|\Traversable
123
+     * @return \Pagerfanta\iterable|null
124 124
      */
125 125
     public function getItems()
126 126
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Helper/PageCloningHelper.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -84,6 +84,10 @@  discard block
 block discarded – undo
84 84
         }
85 85
     }
86 86
 
87
+    /**
88
+     * @param string $locale
89
+     * @param string $title
90
+     */
87 91
     public function clonePage(Node $originalNode, $locale, $title = null)
88 92
     {
89 93
         $originalNodeTranslations = $originalNode->getNodeTranslation($locale, true);
@@ -123,6 +127,10 @@  discard block
 block discarded – undo
123 127
         return $nodeNewPage;
124 128
     }
125 129
 
130
+    /**
131
+     * @param Node $originalNode
132
+     * @param Node $nodeNewPage
133
+     */
126 134
     private function updateAcl($originalNode, $nodeNewPage): void
127 135
     {
128 136
         $originalIdentity = $this->identityRetrievalStrategy->getObjectIdentity($originalNode);
Please login to merge, or discard this patch.
src/Kunstmaan/NodeSearchBundle/Search/NodeSearcher.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
     }
156 156
 
157 157
     /**
158
-     * @return array
158
+     * @return string[]
159 159
      */
160 160
     protected function getCurrentUserRoles()
161 161
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Helper/NodeMenuItem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
     }
157 157
 
158 158
     /**
159
-     * @param NodeMenuItem|false|null $parent
159
+     * @param NodeMenuItem $parent
160 160
      */
161 161
     public function setParent($parent = false)
162 162
     {
Please login to merge, or discard this patch.