Completed
Push — ezp25003-trash_subitems_count_... ( 554176...e4ea85 )
by André
21:49
created
Core/Persistence/Legacy/Content/Location/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +26 added lines, -23 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      *
92 92
      * @todo optimize
93 93
      *
94
-     * @param mixed $remoteId
94
+     * @param string $remoteId
95 95
      *
96 96
      * @return array
97 97
      */
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
     /**
247 247
      * Returns data for the first level children of the location identified by given $locationId.
248 248
      *
249
-     * @param mixed $locationId
249
+     * @param integer $locationId
250 250
      *
251 251
      * @return array
252 252
      */
@@ -380,6 +380,9 @@  discard block
 block discarded – undo
380 380
         }
381 381
     }
382 382
 
383
+    /**
384
+     * @param string $pathString
385
+     */
383 386
     private function isHiddenByParent($pathString, array $rows)
384 387
     {
385 388
         $parentNodeIds = explode('/', trim($pathString, '/'));
@@ -579,10 +582,10 @@  discard block
 block discarded – undo
579 582
      * Make the location identified by $locationId1 refer to the Content
580 583
      * referred to by $locationId2 and vice versa.
581 584
      *
582
-     * @param mixed $locationId1
583
-     * @param mixed $locationId2
585
+     * @param integer $locationId1
586
+     * @param integer $locationId2
584 587
      *
585
-     * @return bool
588
+     * @return boolean|null
586 589
      */
587 590
     public function swap($locationId1, $locationId2)
588 591
     {
@@ -739,7 +742,7 @@  discard block
 block discarded – undo
739 742
      * Create an entry in the node assignment table.
740 743
      *
741 744
      * @param \eZ\Publish\SPI\Persistence\Content\Location\CreateStruct $createStruct
742
-     * @param mixed $parentNodeId
745
+     * @param string $parentNodeId
743 746
      * @param int $type
744 747
      */
745 748
     public function createNodeAssignment(CreateStruct $createStruct, $parentNodeId, $type = self::NODE_ASSIGNMENT_OP_CODE_CREATE_NOP)
@@ -867,8 +870,8 @@  discard block
 block discarded – undo
867 870
      *
868 871
      * Convert existing node assignments into real locations.
869 872
      *
870
-     * @param mixed $contentId
871
-     * @param mixed $versionNo
873
+     * @param integer $contentId
874
+     * @param integer $versionNo
872 875
      */
873 876
     public function createLocationsFromNodeAssignments($contentId, $versionNo)
874 877
     {
@@ -936,8 +939,8 @@  discard block
 block discarded – undo
936 939
     /**
937 940
      * Updates all Locations of content identified with $contentId with $versionNo.
938 941
      *
939
-     * @param mixed $contentId
940
-     * @param mixed $versionNo
942
+     * @param integer $contentId
943
+     * @param integer $versionNo
941 944
      */
942 945
     public function updateLocationsContentVersionNo($contentId, $versionNo)
943 946
     {
@@ -1096,8 +1099,8 @@  discard block
 block discarded – undo
1096 1099
      * the node identified by given $locationId (current main node).
1097 1100
      * Assumes that content has more than one location.
1098 1101
      *
1099
-     * @param mixed $contentId
1100
-     * @param mixed $locationId
1102
+     * @param integer $contentId
1103
+     * @param integer $locationId
1101 1104
      *
1102 1105
      * @return array
1103 1106
      */
@@ -1133,9 +1136,9 @@  discard block
 block discarded – undo
1133 1136
      *
1134 1137
      * The associated content object is left untouched.
1135 1138
      *
1136
-     * @param mixed $locationId
1139
+     * @param integer $locationId
1137 1140
      *
1138
-     * @return bool
1141
+     * @return boolean|null
1139 1142
      */
1140 1143
     public function trashLocation($locationId)
1141 1144
     {
@@ -1164,8 +1167,8 @@  discard block
 block discarded – undo
1164 1167
      * at the old position. If this is not possible ( because the old location
1165 1168
      * does not exist any more) and exception is thrown.
1166 1169
      *
1167
-     * @param mixed $locationId
1168
-     * @param mixed|null $newParentId
1170
+     * @param integer $locationId
1171
+     * @param integer $newParentId
1169 1172
      *
1170 1173
      * @return \eZ\Publish\SPI\Persistence\Content\Location
1171 1174
      */
@@ -1339,10 +1342,10 @@  discard block
 block discarded – undo
1339 1342
     /**
1340 1343
      * Set section on all content objects in the subtree.
1341 1344
      *
1342
-     * @param mixed $pathString
1343
-     * @param mixed $sectionId
1345
+     * @param string $pathString
1346
+     * @param integer $sectionId
1344 1347
      *
1345
-     * @return bool
1348
+     * @return boolean|null
1346 1349
      */
1347 1350
     public function setSectionForSubtree($pathString, $sectionId)
1348 1351
     {
@@ -1408,10 +1411,10 @@  discard block
 block discarded – undo
1408 1411
      * Updates ezcontentobject_tree table for the given $contentId and eznode_assignment table for the given
1409 1412
      * $contentId, $parentLocationId and $versionNo
1410 1413
      *
1411
-     * @param mixed $contentId
1412
-     * @param mixed $locationId
1413
-     * @param mixed $versionNo version number, needed to update eznode_assignment table
1414
-     * @param mixed $parentLocationId parent location of location identified by $locationId, needed to update
1414
+     * @param integer $contentId
1415
+     * @param integer $locationId
1416
+     * @param integer $versionNo version number, needed to update eznode_assignment table
1417
+     * @param integer $parentLocationId parent location of location identified by $locationId, needed to update
1415 1418
      *        eznode_assignment table
1416 1419
      */
1417 1420
     public function changeMainLocation($contentId, $locationId, $versionNo, $parentLocationId)
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Helper/DomainMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -360,7 +360,7 @@
 block discarded – undo
360 360
      * @param \eZ\Publish\API\Repository\Values\Content\Location $parentLocation
361 361
      * @param mixed $mainLocation
362 362
      * @param mixed $contentId
363
-     * @param mixed $contentVersionNo
363
+     * @param null|integer $contentVersionNo
364 364
      *
365 365
      * @return \eZ\Publish\SPI\Persistence\Content\Location\CreateStruct
366 366
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/MVC/Symfony/Controller/Controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     private static $contentId = 42;
14 14
 
15 15
     /**
16
-     * @return mixed
16
+     * @return integer
17 17
      */
18 18
     public static function getContentId()
19 19
     {
Please login to merge, or discard this patch.
Publish/Core/Search/Elasticsearch/Content/FieldValueMapper/DateMapper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      *
28 28
      * @param \eZ\Publish\SPI\Search\Field $field
29 29
      *
30
-     * @return mixed
30
+     * @return boolean
31 31
      */
32 32
     public function canMap(Field $field)
33 33
     {
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      *
40 40
      * @param \eZ\Publish\SPI\Search\Field $field
41 41
      *
42
-     * @return mixed
42
+     * @return string
43 43
      */
44 44
     public function map(Field $field)
45 45
     {
Please login to merge, or discard this patch.
Publish/Core/MVC/Symfony/Cache/Tests/Http/SignalSlot/AbstractSlotTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
     /**
101 101
      * Returns an array of allowed IPs for Http PURGE requests.
102 102
      *
103
-     * @return array
103
+     * @return string[]
104 104
      */
105 105
     protected function getInternalAllowedIPs()
106 106
     {
Please login to merge, or discard this patch.
Core/MVC/Symfony/Templating/Tests/Twig/Extension/ContentExtensionTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -111,6 +111,9 @@
 block discarded – undo
111 111
         return $content;
112 112
     }
113 113
 
114
+    /**
115
+     * @return \eZ\Publish\Core\MVC\ConfigResolverInterface
116
+     */
114 117
     private function getConfigResolverMock()
115 118
     {
116 119
         $mock = $this->getMock(
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 \eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway
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 \eZ\Publish\Core\Persistence\Legacy\Content\Gateway
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.
eZ/Bundle/EzPublishIOBundle/DependencyInjection/EzPublishIOExtension.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     }
62 62
 
63 63
     /**
64
-     * @return \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|\ArrayObject
64
+     * @return ArrayObject
65 65
      */
66 66
     public function getMetadataHandlerFactories()
67 67
     {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     }
70 70
 
71 71
     /**
72
-     * @return \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|\ArrayObject
72
+     * @return ArrayObject
73 73
      */
74 74
     public function getBinarydataHandlerFactories()
75 75
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Features/Context/SubContext/EzRest.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -46,6 +46,8 @@
 block discarded – undo
46 46
 
47 47
     /**
48 48
      * @When I set header :header with/for :object object
49
+     * @param string $header
50
+     * @param string $object
49 51
      */
50 52
     public function setHeaderWithObject($header, $object)
51 53
     {
Please login to merge, or discard this patch.