Completed
Push — ezp-26146_location_swap_incons... ( 4a02af...baaf24 )
by
unknown
21:53
created
Core/Persistence/Legacy/Content/UrlAlias/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
      *
251 251
      * @param string $action
252 252
      * @param mixed $languageId
253
-     * @param mixed $newId
253
+     * @param integer $newId
254 254
      * @param mixed $parentId
255 255
      * @param string $textMD5
256 256
      */
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
      * @param mixed $locationId1
323 323
      * @param mixed $locationId2
324 324
      *
325
-     * @return bool
325
+     * @return false|null
326 326
      */
327 327
     public function swap($locationId1, $locationId2)
328 328
     {
@@ -533,8 +533,8 @@  discard block
 block discarded – undo
533 533
      *
534 534
      * Update includes history entries.
535 535
      *
536
-     * @param mixed $oldParentId
537
-     * @param mixed $newParentId
536
+     * @param integer $oldParentId
537
+     * @param integer $newParentId
538 538
      */
539 539
     public function reparent($oldParentId, $newParentId)
540 540
     {
@@ -680,7 +680,7 @@  discard block
 block discarded – undo
680 680
     /**
681 681
      * Returns next value for "id" column.
682 682
      *
683
-     * @return mixed
683
+     * @return string
684 684
      */
685 685
     public function getNextId()
686 686
     {
@@ -995,7 +995,7 @@  discard block
 block discarded – undo
995 995
     /**
996 996
      * Deletes single custom alias row matched by composite primary key.
997 997
      *
998
-     * @param mixed $parentId
998
+     * @param integer $parentId
999 999
      * @param string $textMD5
1000 1000
      *
1001 1001
      * @return bool
@@ -1033,10 +1033,10 @@  discard block
 block discarded – undo
1033 1033
      *
1034 1034
      * If $id is set only autogenerated entries will be removed.
1035 1035
      *
1036
-     * @param mixed $action
1037
-     * @param mixed|null $id
1036
+     * @param string $action
1037
+     * @param integer $id
1038 1038
      *
1039
-     * @return bool
1039
+     * @return boolean|null
1040 1040
      */
1041 1041
     public function remove($action, $id = null)
1042 1042
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/UrlAlias/Handler.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -101,8 +101,8 @@  discard block
 block discarded – undo
101 101
      * $alwaysAvailable controls whether the url alias is accessible in all
102 102
      * languages.
103 103
      *
104
-     * @param mixed $locationId
105
-     * @param mixed $parentLocationId
104
+     * @param integer $locationId
105
+     * @param integer $parentLocationId
106 106
      * @param string $name the new name computed by the name schema or url alias schema
107 107
      * @param string $languageCode
108 108
      * @param bool $alwaysAvailable
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
      * If $languageCode is null the $alias is created in the system's default
232 232
      * language. $alwaysAvailable makes the alias available in all languages.
233 233
      *
234
-     * @param mixed $locationId
234
+     * @param integer $locationId
235 235
      * @param string $path
236 236
      * @param bool $forwarding
237 237
      * @param string $languageCode
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
     /**
394 394
      * List of user generated or autogenerated url entries, pointing to $locationId.
395 395
      *
396
-     * @param mixed $locationId
396
+     * @param integer $locationId
397 397
      * @param bool $custom if true the user generated aliases are listed otherwise the autogenerated
398 398
      *
399 399
      * @return \eZ\Publish\SPI\Persistence\Content\UrlAlias[]
@@ -523,7 +523,7 @@  discard block
 block discarded – undo
523 523
      * @param mixed $locationId1
524 524
      * @param mixed $locationId2
525 525
      *
526
-     * @return bool
526
+     * @return boolean|null
527 527
      */
528 528
     public function swap($locationId1, $locationId2)
529 529
     {
@@ -535,9 +535,9 @@  discard block
 block discarded – undo
535 535
      *
536 536
      * This method triggers the change of the autogenerated aliases.
537 537
      *
538
-     * @param mixed $locationId
539
-     * @param mixed $oldParentId
540
-     * @param mixed $newParentId
538
+     * @param integer $locationId
539
+     * @param integer $oldParentId
540
+     * @param integer $newParentId
541 541
      */
542 542
     public function locationMoved($locationId, $oldParentId, $newParentId)
543 543
     {
@@ -565,9 +565,9 @@  discard block
 block discarded – undo
565 565
      *
566 566
      * This method triggers the creation of the autogenerated aliases for the copied locations
567 567
      *
568
-     * @param mixed $locationId
569
-     * @param mixed $newLocationId
570
-     * @param mixed $newParentId
568
+     * @param integer $locationId
569
+     * @param integer $newLocationId
570
+     * @param integer $newParentId
571 571
      */
572 572
     public function locationCopied($locationId, $newLocationId, $newParentId)
573 573
     {
@@ -670,7 +670,7 @@  discard block
 block discarded – undo
670 670
     /**
671 671
      * Notifies the underlying engine that a location was deleted or moved to trash.
672 672
      *
673
-     * @param mixed $locationId
673
+     * @param integer $locationId
674 674
      */
675 675
     public function locationDeleted($locationId)
676 676
     {
Please login to merge, or discard this patch.