Completed
Push — master ( 830752...d2bb2e )
by Kristof
55:04 queued 37:30
created
src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/UserFixtures.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      * @param string        $password The plain password
79 79
      * @param string        $email    The email of the user
80 80
      * @param string        $locale   The locale (language) of the user
81
-     * @param array         $roles    The roles the user has
81
+     * @param string[]         $roles    The roles the user has
82 82
      * @param array         $groups   The groups the user belongs to
83 83
      * @param bool          $enabled  Enable login for the user
84 84
      * @param bool          $changed  Disable password changed for the user
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 . 'TwigBundle/views/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/MultiDomainBundle/Helper/DomainConfiguration.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -35,6 +35,7 @@
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param ContainerInterface|string $multilanguage
38
+     * @param \PHPUnit\Framework\MockObject\MockObject $requestStack
38 39
      */
39 40
     public function __construct(/*ContainerInterface|RequestStack*/ $requestStack, $multilanguage = null, $defaultLocale = null, $requiredLocales = null, AdminRouteHelper $adminRouteHelper = null, EntityManagerInterface $em = null, array $hosts = null)
40 41
     {
Please login to merge, or discard this patch.
MultiDomainBundle/Tests/unit/EventListener/HostOverrideListenerTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -138,6 +138,9 @@  discard block
 block discarded – undo
138 138
         $object->onKernelResponse($event);
139 139
     }
140 140
 
141
+    /**
142
+     * @param \PHPUnit\Framework\MockObject\MockObject $flashBag
143
+     */
141 144
     private function getHostOverrideListener($flashBag)
142 145
     {
143 146
         $session = $this->getMockBuilder('Symfony\Component\HttpFoundation\Session\Session')
@@ -172,6 +175,10 @@  discard block
 block discarded – undo
172 175
         return $listener;
173 176
     }
174 177
 
178
+    /**
179
+     * @param Request $request
180
+     * @param \PHPUnit\Framework\MockObject\MockObject $response
181
+     */
175 182
     private function getFilterResponseEvent($request, $response, $requestType = HttpKernelInterface::MASTER_REQUEST)
176 183
     {
177 184
         $event = $this->getMockBuilder('Symfony\Component\HttpKernel\Event\FilterResponseEvent')
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Tests/unit/Entity/NodeTranslationTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -137,6 +137,11 @@
 block discarded – undo
137 137
         $this->assertEquals(10, $this->object->getWeight());
138 138
     }
139 139
 
140
+    /**
141
+     * @param string $lang
142
+     * @param string $title
143
+     * @param string $slug
144
+     */
140 145
     private function getNodeWithTranslation($lang, $title, $slug, $nodeId = null)
141 146
     {
142 147
         $node = new Node();
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
@@ -118,6 +118,9 @@  discard block
 block discarded – undo
118 118
         $listener->onPostPersist($nodeEvent);
119 119
     }
120 120
 
121
+    /**
122
+     * @param \PHPUnit\Framework\MockObject\MockObject $searchConfigMock
123
+     */
121 124
     private function getContainer($searchConfigMock)
122 125
     {
123 126
         $container = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface');
@@ -132,6 +135,9 @@  discard block
 block discarded – undo
132 135
         return $container;
133 136
     }
134 137
 
138
+    /**
139
+     * @param boolean $expectCall
140
+     */
135 141
     private function getSearchConfiguration($expectCall)
136 142
     {
137 143
         $searchConfig = $this->createMock(NodePagesConfiguration::class);
Please login to merge, or discard this patch.
src/Kunstmaan/AdminListBundle/AdminList/AdminList.php 1 patch
Doc Comments   +12 added lines, -9 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     }
115 115
 
116 116
     /**
117
-     * @param mixed $item
117
+     * @param \stdClass $item
118 118
      *
119 119
      * @return bool
120 120
      */
@@ -131,6 +131,9 @@  discard block
 block discarded – undo
131 131
         return $this->configurator->canAdd();
132 132
     }
133 133
 
134
+    /**
135
+     * @param \stdClass $item
136
+     */
134 137
     public function canView($item)
135 138
     {
136 139
         return $this->configurator->canView($item);
@@ -145,7 +148,7 @@  discard block
 block discarded – undo
145 148
     }
146 149
 
147 150
     /**
148
-     * @param mixed $item
151
+     * @param \stdClass $item
149 152
      *
150 153
      * @return array
151 154
      */
@@ -160,7 +163,7 @@  discard block
 block discarded – undo
160 163
     }
161 164
 
162 165
     /**
163
-     * @param mixed $item
166
+     * @param \stdClass $item
164 167
      *
165 168
      * @return array
166 169
      */
@@ -180,7 +183,7 @@  discard block
 block discarded – undo
180 183
     }
181 184
 
182 185
     /**
183
-     * @param mixed $item
186
+     * @param \stdClass $item
184 187
      *
185 188
      * @return bool
186 189
      */
@@ -206,7 +209,7 @@  discard block
 block discarded – undo
206 209
     }
207 210
 
208 211
     /**
209
-     * @param object|array $object    The object
212
+     * @param \stdClass $object    The object
210 213
      * @param string       $attribute The attribute
211 214
      *
212 215
      * @return mixed
@@ -217,7 +220,7 @@  discard block
 block discarded – undo
217 220
     }
218 221
 
219 222
     /**
220
-     * @param object|array $object    The object
223
+     * @param \stdClass $object    The object
221 224
      * @param string       $attribute The attribute
222 225
      *
223 226
      * @return string
@@ -244,7 +247,7 @@  discard block
 block discarded – undo
244 247
     }
245 248
 
246 249
     /**
247
-     * @return array
250
+     * @return ItemAction\ItemActionInterface[]
248 251
      */
249 252
     public function getItemActions()
250 253
     {
@@ -268,7 +271,7 @@  discard block
 block discarded – undo
268 271
     }
269 272
 
270 273
     /**
271
-     * @return array
274
+     * @return ListAction\ListActionInterface[]
272 275
      */
273 276
     public function getListActions()
274 277
     {
@@ -276,7 +279,7 @@  discard block
 block discarded – undo
276 279
     }
277 280
 
278 281
     /**
279
-     * @return array
282
+     * @return BulkAction\BulkActionInterface[]
280 283
      */
281 284
     public function getBulkActions()
282 285
     {
Please login to merge, or discard this patch.