@@ -250,7 +250,7 @@ discard block |
||
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 | */ |
@@ -447,8 +447,8 @@ discard block |
||
447 | 447 | * |
448 | 448 | * Update includes history entries. |
449 | 449 | * |
450 | - * @param mixed $oldParentId |
|
451 | - * @param mixed $newParentId |
|
450 | + * @param integer $oldParentId |
|
451 | + * @param integer $newParentId |
|
452 | 452 | */ |
453 | 453 | public function reparent($oldParentId, $newParentId) |
454 | 454 | { |
@@ -594,7 +594,7 @@ discard block |
||
594 | 594 | /** |
595 | 595 | * Returns next value for "id" column. |
596 | 596 | * |
597 | - * @return mixed |
|
597 | + * @return string |
|
598 | 598 | */ |
599 | 599 | public function getNextId() |
600 | 600 | { |
@@ -909,7 +909,7 @@ discard block |
||
909 | 909 | /** |
910 | 910 | * Deletes single custom alias row matched by composite primary key. |
911 | 911 | * |
912 | - * @param mixed $parentId |
|
912 | + * @param integer $parentId |
|
913 | 913 | * @param string $textMD5 |
914 | 914 | * |
915 | 915 | * @return bool |
@@ -947,10 +947,10 @@ discard block |
||
947 | 947 | * |
948 | 948 | * If $id is set only autogenerated entries will be removed. |
949 | 949 | * |
950 | - * @param mixed $action |
|
951 | - * @param mixed|null $id |
|
950 | + * @param string $action |
|
951 | + * @param integer $id |
|
952 | 952 | * |
953 | - * @return bool |
|
953 | + * @return boolean|null |
|
954 | 954 | */ |
955 | 955 | public function remove($action, $id = null) |
956 | 956 | { |
@@ -101,8 +101,8 @@ discard block |
||
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 |
||
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 |
||
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[] |
@@ -522,9 +522,9 @@ discard block |
||
522 | 522 | * |
523 | 523 | * This method triggers the change of the autogenerated aliases. |
524 | 524 | * |
525 | - * @param mixed $locationId |
|
526 | - * @param mixed $oldParentId |
|
527 | - * @param mixed $newParentId |
|
525 | + * @param integer $locationId |
|
526 | + * @param integer $oldParentId |
|
527 | + * @param integer $newParentId |
|
528 | 528 | */ |
529 | 529 | public function locationMoved($locationId, $oldParentId, $newParentId) |
530 | 530 | { |
@@ -552,9 +552,8 @@ discard block |
||
552 | 552 | * |
553 | 553 | * This method triggers the creation of the autogenerated aliases for the copied locations |
554 | 554 | * |
555 | - * @param mixed $locationId |
|
556 | - * @param mixed $oldParentId |
|
557 | - * @param mixed $newParentId |
|
555 | + * @param integer $locationId |
|
556 | + * @param integer $newParentId |
|
558 | 557 | */ |
559 | 558 | public function locationCopied($locationId, $newLocationId, $newParentId) |
560 | 559 | { |
@@ -657,7 +656,7 @@ discard block |
||
657 | 656 | /** |
658 | 657 | * Notifies the underlying engine that a location was deleted or moved to trash. |
659 | 658 | * |
660 | - * @param mixed $locationId |
|
659 | + * @param integer $locationId |
|
661 | 660 | */ |
662 | 661 | public function locationDeleted($locationId) |
663 | 662 | { |
@@ -47,7 +47,7 @@ discard block |
||
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 |
||
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 |
||
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 | */ |
@@ -21,7 +21,6 @@ |
||
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 | { |
@@ -1430,7 +1430,7 @@ |
||
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 | { |
@@ -1011,7 +1011,7 @@ discard block |
||
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 |
||
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 |
||
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 | { |
@@ -352,7 +352,7 @@ |
||
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 | { |
@@ -163,7 +163,7 @@ |
||
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 |
@@ -35,7 +35,7 @@ |
||
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 | { |