Completed
Push — improvement ( 796547...e66d5d )
by
unknown
21:57
created
eZ/Bundle/EzPublishCoreBundle/EventListener/ConfigScopeListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     /**
67 67
      * Sets the complete list of view providers.
68 68
      *
69
-     * @param array $viewProviders
69
+     * @param \PHPUnit\Framework\MockObject\MockObject $viewProviders
70 70
      */
71 71
     public function setViewProviders(array $viewProviders)
72 72
     {
Please login to merge, or discard this patch.
Tests/EventListener/BackgroundIndexingTerminateListenerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     /**
87 87
      * @dataProvider indexingProvider
88 88
      *
89
-     * @param array|null $value
89
+     * @param array|null $values
90 90
      * @param \Psr\Log\LoggerInterface|\PHPUnit\Framework\MockObject\MockObject|null $logger
91 91
      */
92 92
     public function testIndexing(array $values = null, $logger = null)
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/CorsOptions/RestProviderTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     }
112 112
 
113 113
     /**
114
-     * @return MockObject|RequestMatcherInterface
114
+     * @return RequestMatcherInterface
115 115
      */
116 116
     protected function getRequestMatcherMock()
117 117
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/EventListener/CsrfListenerTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     }
169 169
 
170 170
     /**
171
-     * @return CsrfProviderInterface|MockObject
171
+     * @return null|CsrfTokenManagerInterface
172 172
      */
173 173
     protected function getCsrfProviderMock()
174 174
     {
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     }
192 192
 
193 193
     /**
194
-     * @return MockObject|GetResponseEvent
194
+     * @return null|EventDispatcherInterface
195 195
      */
196 196
     protected function getEventMock($class = null)
197 197
     {
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
     }
294 294
 
295 295
     /**
296
-     * @return MockObject|EventDispatcherInterface
296
+     * @return EventDispatcherInterface
297 297
      */
298 298
     protected function getEventDispatcherMock()
299 299
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/EventListener/ResponseListenerTest.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,6 +67,9 @@  discard block
 block discarded – undo
67 67
         );
68 68
     }
69 69
 
70
+    /**
71
+     * @param string $method
72
+     */
70 73
     protected function onKernelViewIsNotRestRequest($method, GetResponseEvent $event)
71 74
     {
72 75
         $this->getVisitorDispatcherMock()
@@ -86,6 +89,9 @@  discard block
 block discarded – undo
86 89
         $this->onKernelView('onKernelResultView', $this->getControllerResultEventMock());
87 90
     }
88 91
 
92
+    /**
93
+     * @param string $method
94
+     */
89 95
     protected function onKernelView($method, $event)
90 96
     {
91 97
         $this->getVisitorDispatcherMock()
@@ -108,7 +114,7 @@  discard block
 block discarded – undo
108 114
     }
109 115
 
110 116
     /**
111
-     * @return AcceptHeaderVisitorDispatcher|MockObject
117
+     * @return AcceptHeaderVisitorDispatcher
112 118
      */
113 119
     public function getVisitorDispatcherMock()
114 120
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/RequestParser/RouterTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
     }
149 149
 
150 150
     /**
151
-     * @return \Symfony\Cmf\Component\Routing\ChainRouter|\PHPUnit\Framework\MockObject\MockObject
151
+     * @return \Symfony\Component\Routing\RouterInterface
152 152
      */
153 153
     private function getRouterMock()
154 154
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishIOBundle/DependencyInjection/Configuration.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@
 block discarded – undo
60 60
 
61 61
     /**
62 62
      * @param NodeDefinition $node
63
-     * @param                $name
63
+     * @param                string $name
64 64
      * @param string $info block info line
65
-     * @param ConfigurationFactory[]|ArrayObject $factories
65
+     * @param ArrayObject $factories
66 66
      */
67 67
     private function addHandlersSection(NodeDefinition $node, $name, $info, ArrayObject $factories)
68 68
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Tests/Routing/DefaultRouterTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-     * @param array $mockedMethods
54
+     * @param string[] $mockedMethods
55 55
      *
56 56
      * @return \PHPUnit\Framework\MockObject\MockObject|DefaultRouter
57 57
      */
@@ -318,6 +318,9 @@  discard block
 block discarded – undo
318 318
         ];
319 319
     }
320 320
 
321
+    /**
322
+     * @param string $uri
323
+     */
321 324
     private function getExpectedRequestContext($uri)
322 325
     {
323 326
         $requestContext = new RequestContext();
Please login to merge, or discard this patch.
Core/REST/Server/Tests/Output/ValueObjectVisitor/RestExecutedViewTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,9 +17,8 @@
 block discarded – undo
17 17
 use eZ\Publish\Core\Repository\Values\ContentType\ContentType;
18 18
 use eZ\Publish\Core\REST\Common\Tests\Output\ValueObjectVisitorBaseTest;
19 19
 use eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor;
20
-use eZ\Publish\Core\Repository\Values\Content;
21
-use eZ\Publish\Core\REST\Server\Values\RestExecutedView;
22 20
 use eZ\Publish\Core\Repository\Values\Content as ApiValues;
21
+use eZ\Publish\Core\REST\Server\Values\RestExecutedView;
23 22
 
24 23
 class RestExecutedViewTest extends ValueObjectVisitorBaseTest
25 24
 {
Please login to merge, or discard this patch.