Completed
Push — 7.3 ( cde7f3...1b982b )
by
unknown
35:18
created
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.