Completed
Push — l10n_master ( befccb...1664da )
by Kunstmaan
85:38 queued 80:25
created
src/Kunstmaan/AdminBundle/Form/MediaTokenTransformer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 class MediaTokenTransformer implements DataTransformerInterface
12 12
 {
13 13
     /**
14
-     * @param mixed $content
14
+     * @param string $content
15 15
      *
16 16
      * @return string
17 17
      */
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @param mixed $content
47
+     * @param string $content
48 48
      *
49 49
      * @return string
50 50
      */
Please login to merge, or discard this patch.
MultiDomainBundle/Tests/unit/EventListener/HostOverrideListenerTest.php 1 patch
Doc Comments   +6 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,9 @@  discard block
 block discarded – undo
172 175
         return $listener;
173 176
     }
174 177
 
178
+    /**
179
+     * @param \PHPUnit\Framework\MockObject\MockObject $response
180
+     */
175 181
     private function getFilterResponseEvent($request, $response, $requestType = HttpKernelInterface::MASTER_REQUEST)
176 182
     {
177 183
         $event = $this->getMockBuilder('Symfony\Component\HttpKernel\Event\FilterResponseEvent')
Please login to merge, or discard this patch.
Kunstmaan/MultiDomainBundle/Tests/unit/Helper/DomainConfigurationTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -338,6 +338,9 @@
 block discarded – undo
338 338
         return Request::create('http://single-alias.tld/');
339 339
     }
340 340
 
341
+    /**
342
+     * @param string $uri
343
+     */
341 344
     private function getRequestWithOverride($uri)
342 345
     {
343 346
         $session = new Session(new MockArraySessionStorage());
Please login to merge, or discard this patch.
src/Kunstmaan/AdminListBundle/Controller/AdminListController.php 1 patch
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * You can override this method to return the correct entity manager when using multiple databases ...
35 35
      *
36
-     * @return \Doctrine\Common\Persistence\ObjectManager|object
36
+     * @return \Doctrine\Persistence\ObjectManager
37 37
      */
38 38
     protected function getEntityManager()
39 39
     {
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * Shows the list of entities
45 45
      *
46 46
      * @param AbstractAdminListConfigurator $configurator
47
-     * @param null|Request                  $request
47
+     * @param Request                  $request
48 48
      *
49 49
      * @return Response
50 50
      */
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      *
94 94
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
95 95
      * @param string                        $type         The type to add
96
-     * @param null|Request                  $request
96
+     * @param Request                  $request
97 97
      *
98 98
      * @throws AccessDeniedHttpException
99 99
      *
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      *
189 189
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
190 190
      * @param string                        $entityId     The id of the entity that will be edited
191
-     * @param null|Request                  $request
191
+     * @param Request                  $request
192 192
      *
193 193
      * @throws NotFoundHttpException
194 194
      * @throws AccessDeniedHttpException
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
      *
343 343
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
344 344
      * @param int                           $entityId     The id to delete
345
-     * @param null|Request                  $request
345
+     * @param Request                  $request
346 346
      *
347 347
      * @throws NotFoundHttpException
348 348
      * @throws AccessDeniedHttpException
@@ -469,6 +469,9 @@  discard block
 block discarded – undo
469 469
         );
470 470
     }
471 471
 
472
+    /**
473
+     * @param \Doctrine\Persistence\ObjectRepository $repo
474
+     */
472 475
     private function getMaxSortableField($repo, $sort)
473 476
     {
474 477
         $maxWeight = $repo->createQueryBuilder('i')
Please login to merge, or discard this patch.
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/NodeBundle/Tests/unit/Router/SlugRouterTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -65,6 +65,10 @@
 block discarded – undo
65 65
         $object->match('/en/some-uri');
66 66
     }
67 67
 
68
+    /**
69
+     * @param \self|null $request
70
+     * @param NodeTranslation $nodeTranslation
71
+     */
68 72
     private function getContainer($request, $multiLanguage = false, $nodeTranslation = null)
69 73
     {
70 74
         $container = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface');
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.
AdminList/Configurator/AbstractDoctrineORMAdminListConfigurator.php 1 patch
Doc Comments   +3 added lines, -3 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
      */
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     }
126 126
 
127 127
     /**
128
-     * @return array|Traversable
128
+     * @return \Pagerfanta\iterable|null
129 129
      */
130 130
     public function getItems()
131 131
     {
Please login to merge, or discard this patch.
src/Kunstmaan/VotingBundle/Services/RepositoryResolver.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * Constructor
24 24
      *
25
-     * @param object $em entity manager
25
+     * @param EntityManager $em entity manager
26 26
      */
27 27
     public function __construct(EntityManager $em)
28 28
     {
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      *
35 35
      * @param Event $event event
36 36
      *
37
-     * @return Repository
37
+     * @return \Doctrine\Persistence\ObjectRepository|null
38 38
      */
39 39
     public function getRepositoryForEvent($event)
40 40
     {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      *
69 69
      * @param string $name name
70 70
      *
71
-     * @return Repository
71
+     * @return \Doctrine\Persistence\ObjectRepository
72 72
      */
73 73
     protected function getRepository($name)
74 74
     {
Please login to merge, or discard this patch.