Completed
Push — cs-fix-header-comment ( 27e626 )
by
unknown
27:18
created
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/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.
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.
eZ/Publish/Core/MVC/Symfony/FieldType/Tests/RichText/RendererTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1396,7 +1396,7 @@  discard block
 block discarded – undo
1396 1396
     }
1397 1397
 
1398 1398
     /**
1399
-     * @param array $methods
1399
+     * @param string[] $methods
1400 1400
      *
1401 1401
      * @return \eZ\Publish\Core\MVC\Symfony\FieldType\RichText\Renderer|\PHPUnit\Framework\MockObject\MockObject
1402 1402
      */
@@ -1483,6 +1483,9 @@  discard block
 block discarded – undo
1483 1483
         return $this->createMock(LoggerInterface::class);
1484 1484
     }
1485 1485
 
1486
+    /**
1487
+     * @param integer $mainLocationId
1488
+     */
1486 1489
     protected function getContentMock($mainLocationId)
1487 1490
     {
1488 1491
         $contentInfoMock = $this->createMock(ContentInfo::class);
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Tests/Content/FieldHandlerTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1008,7 +1008,7 @@  discard block
 block discarded – undo
1008 1008
     /**
1009 1009
      * Returns a Mapper mock.
1010 1010
      *
1011
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper|\PHPUnit\Framework\MockObject\MockObject
1011
+     * @return Mapper
1012 1012
      */
1013 1013
     protected function getMapperMock()
1014 1014
     {
@@ -1022,7 +1022,7 @@  discard block
 block discarded – undo
1022 1022
     /**
1023 1023
      * Returns a mock object for the Content Gateway.
1024 1024
      *
1025
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Gateway|\PHPUnit\Framework\MockObject\MockObject
1025
+     * @return Gateway
1026 1026
      */
1027 1027
     protected function getContentGatewayMock()
1028 1028
     {
@@ -1034,7 +1034,7 @@  discard block
 block discarded – undo
1034 1034
     }
1035 1035
 
1036 1036
     /**
1037
-     * @return \eZ\Publish\Core\Persistence\FieldTypeRegistry|\PHPUnit\Framework\MockObject\MockObject
1037
+     * @return FieldTypeRegistry
1038 1038
      */
1039 1039
     protected function getFieldTypeRegistryMock()
1040 1040
     {
Please login to merge, or discard this patch.
Core/Persistence/Legacy/Tests/Content/UrlAlias/SlugConverterTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@
 block discarded – undo
309 309
     }
310 310
 
311 311
     /**
312
-     * @param array $methods
312
+     * @param string[] $methods
313 313
      *
314 314
      * @return \eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\SlugConverter|\PHPUnit\Framework\MockObject\MockObject
315 315
      */
Please login to merge, or discard this patch.
Core/Persistence/Legacy/Tests/Content/UrlAlias/UrlAliasHandlerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5021,7 +5021,7 @@
 block discarded – undo
5021 5021
     protected $languageMaskGenerator;
5022 5022
 
5023 5023
     /**
5024
-     * @param array $methods
5024
+     * @param string[] $methods
5025 5025
      *
5026 5026
      * @return \eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Handler|\PHPUnit\Framework\MockObject\MockObject
5027 5027
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/DomainMapperTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     }
178 178
 
179 179
     /**
180
-     * @return \eZ\Publish\SPI\Persistence\Content\Handler|\PHPUnit\Framework\MockObject\MockObject
180
+     * @return \eZ\Publish\SPI\Persistence\Content\Handler
181 181
      */
182 182
     protected function getContentHandlerMock()
183 183
     {
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     }
186 186
 
187 187
     /**
188
-     * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler|\PHPUnit\Framework\MockObject\MockObject
188
+     * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler
189 189
      */
190 190
     protected function getLanguageHandlerMock()
191 191
     {
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     }
194 194
 
195 195
     /**
196
-     * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler|\PHPUnit\Framework\MockObject\MockObject
196
+     * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler
197 197
      */
198 198
     protected function getTypeHandlerMock()
199 199
     {
Please login to merge, or discard this patch.
Publish/Core/REST/Client/Tests/HttpClient/Authentication/BasicAuthTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     /**
97 97
      * Gets the inner HTTP client mock.
98 98
      *
99
-     * @return \eZ\Publish\Core\REST\Client\HttpClient
99
+     * @return \PHPUnit\Framework\MockObject\MockObject
100 100
      */
101 101
     protected function getInnerHttpClientMock()
102 102
     {
Please login to merge, or discard this patch.