Completed
Push — master ( fcb59d...326ddf )
by Ruud
299:19 queued 288:03
created
AdminBundle/Tests/unit/Helper/Security/OAuth/OAuthUserFinderTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     private $em;
23 23
 
24 24
     /**
25
-     * @return \PHPUnit_Framework_MockObject_MockObject
25
+     * @return \Doctrine\ORM\EntityManagerInterface
26 26
      */
27 27
     private function getEm()
28 28
     {
Please login to merge, or discard this patch.
Tests/unit/AdminList/AbstractArticlePageAdminListConfiguratorTest.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,11 @@  discard block
 block discarded – undo
19 19
     /** @var EntityRepository */
20 20
     private $repo;
21 21
 
22
+    /**
23
+     * @param string $locale
24
+     * @param string $permission
25
+     * @param \PHPUnit\Framework\MockObject\MockObject $repo
26
+     */
22 27
     public function __construct(EntityManager $em, AclHelper $aclHelper, $locale, $permission, $repo)
23 28
     {
24 29
         parent::__construct($em, $aclHelper, $locale, $permission);
@@ -26,7 +31,7 @@  discard block
 block discarded – undo
26 31
     }
27 32
 
28 33
     /**
29
-     * @return bool
34
+     * @return EntityRepository
30 35
      */
31 36
     public function getOverviewPageRepository()
32 37
     {
Please login to merge, or discard this patch.
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.
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.
src/Kunstmaan/SeoBundle/Twig/SeoTwigExtension.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * Returns a list of functions to add to the existing list.
52 52
      *
53
-     * @return array An array of functions
53
+     * @return \Twig_SimpleFunction[] An array of functions
54 54
      */
55 55
     public function getFunctions()
56 56
     {
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
     }
235 235
 
236 236
     /**
237
-     * @param $src
237
+     * @param string $src
238 238
      *
239 239
      * @return array
240 240
      */
Please login to merge, or discard this patch.
src/Kunstmaan/AdminListBundle/AdminList/AdminList.php 1 patch
Doc Comments   +15 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
      */
@@ -154,13 +157,16 @@  discard block
 block discarded – undo
154 157
         return $this->configurator->getEditUrlFor($item);
155 158
     }
156 159
 
160
+    /**
161
+     * @param \stdClass $item
162
+     */
157 163
     public function getViewUrlFor($item)
158 164
     {
159 165
         return $this->configurator->getViewUrlFor($item);
160 166
     }
161 167
 
162 168
     /**
163
-     * @param mixed $item
169
+     * @param \stdClass $item
164 170
      *
165 171
      * @return array
166 172
      */
@@ -180,7 +186,7 @@  discard block
 block discarded – undo
180 186
     }
181 187
 
182 188
     /**
183
-     * @param mixed $item
189
+     * @param \stdClass $item
184 190
      *
185 191
      * @return bool
186 192
      */
@@ -206,7 +212,7 @@  discard block
 block discarded – undo
206 212
     }
207 213
 
208 214
     /**
209
-     * @param object|array $object    The object
215
+     * @param \stdClass $object    The object
210 216
      * @param string       $attribute The attribute
211 217
      *
212 218
      * @return mixed
@@ -217,7 +223,7 @@  discard block
 block discarded – undo
217 223
     }
218 224
 
219 225
     /**
220
-     * @param object|array $object    The object
226
+     * @param \stdClass $object    The object
221 227
      * @param string       $attribute The attribute
222 228
      *
223 229
      * @return string
@@ -244,7 +250,7 @@  discard block
 block discarded – undo
244 250
     }
245 251
 
246 252
     /**
247
-     * @return array
253
+     * @return ItemAction\ItemActionInterface[]
248 254
      */
249 255
     public function getItemActions()
250 256
     {
@@ -268,7 +274,7 @@  discard block
 block discarded – undo
268 274
     }
269 275
 
270 276
     /**
271
-     * @return array
277
+     * @return ListAction\ListActionInterface[]
272 278
      */
273 279
     public function getListActions()
274 280
     {
@@ -276,7 +282,7 @@  discard block
 block discarded – undo
276 282
     }
277 283
 
278 284
     /**
279
-     * @return array
285
+     * @return BulkAction\BulkActionInterface[]
280 286
      */
281 287
     public function getBulkActions()
282 288
     {
Please login to merge, or discard this patch.
AdminList/Configurator/AbstractDoctrineORMAdminListConfigurator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * Return the url to edit the given $item
61 61
      *
62
-     * @param object $item
62
+     * @param \Kunstmaan\AdminListBundle\Tests\AdminList\Configurator\anonymous//src/Kunstmaan/AdminListBundle/Tests/unit/AdminList/Configurator/AbstractDoctrineORMAdminListConfiguratorTest.php$0 $item
63 63
      *
64 64
      * @return array
65 65
      */
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     /**
78 78
      * Get the delete url for the given $item
79 79
      *
80
-     * @param object $item
80
+     * @param \Kunstmaan\AdminListBundle\Tests\AdminList\Configurator\anonymous//src/Kunstmaan/AdminListBundle/Tests/unit/AdminList/Configurator/AbstractDoctrineORMAdminListConfiguratorTest.php$1 $item
81 81
      *
82 82
      * @return array
83 83
      */
Please login to merge, or discard this patch.