Completed
Push — EZP-31226-indexing-depth-doesn... ( 99822a )
by
unknown
21:00
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/Publish/Core/FieldType/Tests/FieldTypeTest.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     private $fieldTypeUnderTest;
26 26
 
27 27
     /**
28
-     * @return \eZ\Publish\Core\Persistence\TransformationProcessor|\PHPUnit\Framework\MockObject\MockObject
28
+     * @return TransformationProcessor
29 29
      */
30 30
     protected function getTransformationProcessorMock()
31 31
     {
@@ -682,7 +682,6 @@  discard block
 block discarded – undo
682 682
     }
683 683
 
684 684
     /**
685
-     * @param mixed $inputValue
686 685
      * @param array $expectedResult
687 686
      *
688 687
      * @dataProvider provideInputForFromHash
@@ -830,7 +829,6 @@  discard block
 block discarded – undo
830 829
     }
831 830
 
832 831
     /**
833
-     * @param mixed $inputConfiguration
834 832
      *
835 833
      * @dataProvider provideValidFieldSettings
836 834
      */
@@ -858,7 +856,6 @@  discard block
 block discarded – undo
858 856
     }
859 857
 
860 858
     /**
861
-     * @param mixed $inputConfiguration
862 859
      *
863 860
      * @dataProvider provideValidFieldSettings
864 861
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/Tests/RichText/RichTextStorageTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
     }
356 356
 
357 357
     /**
358
-     * @return array
358
+     * @return string[]
359 359
      */
360 360
     protected function getContext()
361 361
     {
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
     protected $loggerMock;
369 369
 
370 370
     /**
371
-     * @return \Psr\Log\LoggerInterface|\PHPUnit\Framework\MockObject\MockObject
371
+     * @return integer
372 372
      */
373 373
     protected function getLoggerMock()
374 374
     {
Please login to merge, or discard this patch.
Core/Helper/Tests/ContentInfoLocationLoader/SudoMainLocationLoaderTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     }
99 99
 
100 100
     /**
101
-     * @return \eZ\Publish\Core\Repository\Repository|\PHPUnit\Framework\MockObject\MockObject
101
+     * @return \eZ\Publish\API\Repository\Repository
102 102
      */
103 103
     private function getRepositoryMock()
104 104
     {
Please login to merge, or discard this patch.
Core/Helper/Tests/FieldsGroups/ArrayTranslatorFieldsGroupsListTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@  discard block
 block discarded – undo
66 66
         );
67 67
     }
68 68
 
69
+    /**
70
+     * @param string $default
71
+     */
69 72
     private function buildList($groups, $default)
70 73
     {
71 74
         return new ArrayTranslatorFieldsGroupsList(
@@ -76,7 +79,7 @@  discard block
 block discarded – undo
76 79
     }
77 80
 
78 81
     /**
79
-     * @return \Symfony\Component\Translation\TranslatorInterface|\PHPUnit\Framework\MockObject\MockObject
82
+     * @return TranslatorInterface
80 83
      */
81 84
     private function getTranslatorMock()
82 85
     {
Please login to merge, or discard this patch.
Helper/Tests/FieldsGroups/RepositoryConfigFieldsGroupsListFactoryTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     }
36 36
 
37 37
     /**
38
-     * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Bundle\EzPublishCoreBundle\ApiLoader\RepositoryConfigurationProvider
38
+     * @return RepositoryConfigurationProvider
39 39
      */
40 40
     protected function getRepositoryConfigMock()
41 41
     {
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     }
48 48
 
49 49
     /**
50
-     * @return \PHPUnit\Framework\MockObject\MockObject|\Symfony\Component\Translation\TranslatorInterface
50
+     * @return TranslatorInterface
51 51
      */
52 52
     protected function getTranslatorMock()
53 53
     {
Please login to merge, or discard this patch.