Completed
Pull Request — master (#2377)
by Sander
13:22
created
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.
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.
Kunstmaan/NodeSearchBundle/EventListener/NodeIndexUpdateEventListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     private $entityChangeSet;
26 26
 
27 27
     /**
28
-     * @param ContainerInterface $container
28
+     * @param \PHPUnit\Framework\MockObject\MockObject $nodePagesConfiguration
29 29
      */
30 30
     public function __construct(/* NodePagesConfiguration */ $nodePagesConfiguration)
31 31
     {
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
@@ -127,6 +127,9 @@  discard block
 block discarded – undo
127 127
         $listener = new NodeIndexUpdateEventListener($this->getContainer($this->getSearchConfiguration(false)));
128 128
     }
129 129
 
130
+    /**
131
+     * @param \PHPUnit\Framework\MockObject\MockObject $searchConfigMock
132
+     */
130 133
     private function getContainer($searchConfigMock)
131 134
     {
132 135
         $container = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface');
@@ -141,6 +144,9 @@  discard block
 block discarded – undo
141 144
         return $container;
142 145
     }
143 146
 
147
+    /**
148
+     * @param boolean $expectCall
149
+     */
144 150
     private function getSearchConfiguration($expectCall)
145 151
     {
146 152
         $searchConfig = $this->createMock(NodePagesConfiguration::class);
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.
Kunstmaan/AdminBundle/Tests/unit/Helper/VersionCheck/VersionCheckTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     /**
37 37
      * @param array|null $methods
38 38
      *
39
-     * @return \PHPUnit\Framework\MockObject\MockObject|VersionChecker
39
+     * @return string
40 40
      */
41 41
     public function setUpVersionCheckerMock(?array $methods)
42 42
     {
Please login to merge, or discard this patch.