Completed
Push — master ( 146895...38f5f5 )
by André
23:29
created
Core/Persistence/Legacy/Content/UrlWildcard/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @param \eZ\Publish\SPI\Persistence\Content\UrlWildcard $urlWildcard
49 49
      *
50
-     * @return mixed
50
+     * @return string
51 51
      */
52 52
     public function insertUrlWildcard(UrlWildcard $urlWildcard)
53 53
     {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     /**
92 92
      * Deletes the UrlWildcard with given $id.
93 93
      *
94
-     * @param mixed $id
94
+     * @param integer $id
95 95
      */
96 96
     public function deleteUrlWildcard($id)
97 97
     {
@@ -138,8 +138,8 @@  discard block
 block discarded – undo
138 138
     /**
139 139
      * Loads an array with data about UrlWildcards (paged).
140 140
      *
141
-     * @param mixed $offset
142
-     * @param mixed $limit
141
+     * @param integer $offset
142
+     * @param integer $limit
143 143
      *
144 144
      * @return array
145 145
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Exception/TypeGroupNotFound.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
      * Creates a new exception for $typeId in $status;.
22 22
      *
23 23
      * @param mixed $typeGroupId
24
-     * @param mixed $status
25 24
      */
26 25
     public function __construct($typeGroupId)
27 26
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Tests/Content/ContentHandlerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1430,7 +1430,7 @@
 block discarded – undo
1430 1430
     /**
1431 1431
      * Returns a TreeHandler mock.
1432 1432
      *
1433
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler
1433
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler
1434 1434
      */
1435 1435
     protected function getTreeHandlerMock()
1436 1436
     {
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
@@ -1011,7 +1011,7 @@  discard block
 block discarded – undo
1011 1011
     /**
1012 1012
      * Returns a Mapper mock.
1013 1013
      *
1014
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper|\PHPUnit_Framework_MockObject_MockObject
1014
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper
1015 1015
      */
1016 1016
     protected function getMapperMock()
1017 1017
     {
@@ -1031,7 +1031,7 @@  discard block
 block discarded – undo
1031 1031
     /**
1032 1032
      * Returns a mock object for the Content Gateway.
1033 1033
      *
1034
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Gateway|\PHPUnit_Framework_MockObject_MockObject
1034
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Gateway
1035 1035
      */
1036 1036
     protected function getContentGatewayMock()
1037 1037
     {
@@ -1045,7 +1045,7 @@  discard block
 block discarded – undo
1045 1045
     }
1046 1046
 
1047 1047
     /**
1048
-     * @return \eZ\Publish\Core\Persistence\FieldTypeRegistry|\PHPUnit_Framework_MockObject_MockObject
1048
+     * @return \eZ\Publish\Core\Persistence\FieldTypeRegistry
1049 1049
      */
1050 1050
     protected function getFieldTypeRegistryMock()
1051 1051
     {
Please login to merge, or discard this patch.
Persistence/Legacy/Tests/Content/Language/CachingLanguageHandlerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -352,7 +352,7 @@
 block discarded – undo
352 352
     /**
353 353
      * Returns an array with 2 languages.
354 354
      *
355
-     * @return \eZ\Publish\SPI\Persistence\Content\Language[]
355
+     * @return Language[]
356 356
      */
357 357
     protected function getLanguagesFixture()
358 358
     {
Please login to merge, or discard this patch.
Core/Persistence/Legacy/Tests/Content/Language/MaskGeneratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-     * @param int $languageMask
166
+     * @param int $langMask
167 167
      * @param bool $expectedResult
168 168
      *
169 169
      * @covers       eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator::isAlwaysAvailable
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Tests/Content/LanguageAwareTestCase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * Returns a language handler mock.
37 37
      *
38
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Language\Handler
38
+     * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler
39 39
      */
40 40
     protected function getLanguageHandler()
41 41
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Tests/Content/StorageHandlerTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     /**
183 183
      * Returns a context mock.
184 184
      *
185
-     * @return array
185
+     * @return integer[]
186 186
      */
187 187
     protected function getContextMock()
188 188
     {
@@ -223,6 +223,9 @@  discard block
 block discarded – undo
223 223
         return $this->storageMock;
224 224
     }
225 225
 
226
+    /**
227
+     * @return VersionInfo
228
+     */
226 229
     protected function getVersionInfoMock()
227 230
     {
228 231
         if (!isset($this->versionInfoMock)) {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Tests/Content/TreeHandlerTest.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
     /**
366 366
      * Returns Location Gateway mock.
367 367
      *
368
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway
368
+     * @return \PHPUnit_Framework_MockObject_MockObject
369 369
      */
370 370
     protected function getLocationGatewayMock()
371 371
     {
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
     /**
387 387
      * Returns a Location Mapper mock.
388 388
      *
389
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper
389
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper
390 390
      */
391 391
     protected function getLocationMapperMock()
392 392
     {
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
     /**
412 412
      * Returns Content Gateway mock.
413 413
      *
414
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Gateway
414
+     * @return \PHPUnit_Framework_MockObject_MockObject
415 415
      */
416 416
     protected function getContentGatewayMock()
417 417
     {
@@ -432,7 +432,7 @@  discard block
 block discarded – undo
432 432
     /**
433 433
      * Returns a Content Mapper mock.
434 434
      *
435
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Mapper
435
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper
436 436
      */
437 437
     protected function getContentMapperMock()
438 438
     {
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
     /**
458 458
      * Returns a FieldHandler mock.
459 459
      *
460
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\FieldHandler
460
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\FieldHandler
461 461
      */
462 462
     protected function getFieldHandlerMock()
463 463
     {
@@ -475,7 +475,7 @@  discard block
 block discarded – undo
475 475
     }
476 476
 
477 477
     /**
478
-     * @param array $methods
478
+     * @param string[] $methods
479 479
      *
480 480
      * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler
481 481
      */
Please login to merge, or discard this patch.