@@ -152,7 +152,7 @@ |
||
152 | 152 | * |
153 | 153 | * @param \eZ\Publish\Core\FieldType\BinaryBase\Value $value |
154 | 154 | * |
155 | - * @return mixed |
|
155 | + * @return boolean |
|
156 | 156 | */ |
157 | 157 | protected function getSortInfo(BaseValue $value) |
158 | 158 | { |
@@ -182,7 +182,7 @@ |
||
182 | 182 | /** |
183 | 183 | * Implements the core of {@see isEmptyValue()}. |
184 | 184 | * |
185 | - * @param mixed $value |
|
185 | + * @param SPIValue $value |
|
186 | 186 | * |
187 | 187 | * @return bool |
188 | 188 | */ |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * Returns if the given $value is considered empty by the field type. |
78 | 78 | * |
79 | - * @param mixed $value |
|
79 | + * @param SPIValue $value |
|
80 | 80 | * |
81 | 81 | * @return bool |
82 | 82 | */ |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | /** |
191 | 191 | * Converts an $hash to the Value defined by the field type. |
192 | 192 | * |
193 | - * @param mixed $hash |
|
193 | + * @param string $hash |
|
194 | 194 | * |
195 | 195 | * @return \eZ\Publish\Core\FieldType\ISBN\Value $value |
196 | 196 | */ |
@@ -106,7 +106,7 @@ |
||
106 | 106 | * This value will be used, if no value was provided for a field of this |
107 | 107 | * type and no default value was specified in the field definition. |
108 | 108 | * |
109 | - * @return mixed |
|
109 | + * @return Value |
|
110 | 110 | */ |
111 | 111 | public function getEmptyValue() |
112 | 112 | { |
@@ -187,7 +187,7 @@ |
||
187 | 187 | /** |
188 | 188 | * Returns if the given $value is considered empty by the field type. |
189 | 189 | * |
190 | - * @param mixed $value |
|
190 | + * @param SPIValue $value |
|
191 | 191 | * |
192 | 192 | * @return bool |
193 | 193 | */ |
@@ -187,7 +187,7 @@ |
||
187 | 187 | /** |
188 | 188 | * Returns if the given $value is considered empty by the field type. |
189 | 189 | * |
190 | - * @param mixed $value |
|
190 | + * @param SPIValue $value |
|
191 | 191 | * |
192 | 192 | * @return bool |
193 | 193 | */ |
@@ -113,7 +113,7 @@ |
||
113 | 113 | * It will be used to generate content name and url alias if current field is designated |
114 | 114 | * to be used in the content name/urlAlias pattern. |
115 | 115 | * |
116 | - * @param mixed $value |
|
116 | + * @param SPIValue $value |
|
117 | 117 | * |
118 | 118 | * @return string |
119 | 119 | */ |
@@ -187,7 +187,7 @@ |
||
187 | 187 | /** |
188 | 188 | * Returns if the given $value is considered empty by the field type. |
189 | 189 | * |
190 | - * @param mixed $value |
|
190 | + * @param SPIValue $value |
|
191 | 191 | * |
192 | 192 | * @return bool |
193 | 193 | */ |
@@ -763,7 +763,7 @@ discard block |
||
763 | 763 | /** |
764 | 764 | * Test for the loadLocationChildren() method. |
765 | 765 | * |
766 | - * @return \eZ\Publish\API\Repository\Values\Content\Location[] |
|
766 | + * @return LocationList |
|
767 | 767 | * |
768 | 768 | * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset) |
769 | 769 | * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildren |
@@ -827,7 +827,7 @@ discard block |
||
827 | 827 | /** |
828 | 828 | * Test for the loadLocationChildren() method. |
829 | 829 | * |
830 | - * @return \eZ\Publish\API\Repository\Values\Content\Location[] |
|
830 | + * @return LocationList |
|
831 | 831 | * |
832 | 832 | * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset, $limit) |
833 | 833 | * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildren |
@@ -856,7 +856,7 @@ discard block |
||
856 | 856 | /** |
857 | 857 | * Test for the loadLocationChildren() method. |
858 | 858 | * |
859 | - * @param \eZ\Publish\API\Repository\Values\Content\Location[] $locations |
|
859 | + * @param LocationList $locations |
|
860 | 860 | * |
861 | 861 | * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset, $limit) |
862 | 862 | * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildrenWithOffsetAndLimit |
@@ -1140,7 +1140,7 @@ discard block |
||
1140 | 1140 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException |
1141 | 1141 | * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException |
1142 | 1142 | * |
1143 | - * @return int[] |
|
1143 | + * @return Content[] |
|
1144 | 1144 | */ |
1145 | 1145 | public function testSwapLocationForMainAndSecondaryLocation() |
1146 | 1146 | { |
@@ -2342,7 +2342,7 @@ discard block |
||
2342 | 2342 | * Assert generated aliases to expected alias return. |
2343 | 2343 | * |
2344 | 2344 | * @param \eZ\Publish\API\Repository\URLAliasService $urlAliasService |
2345 | - * @param array $expectedAliases |
|
2345 | + * @param string[] $expectedAliases |
|
2346 | 2346 | */ |
2347 | 2347 | protected function assertGeneratedAliases($urlAliasService, array $expectedAliases) |
2348 | 2348 | { |
@@ -2354,7 +2354,7 @@ discard block |
||
2354 | 2354 | |
2355 | 2355 | /** |
2356 | 2356 | * @param \eZ\Publish\API\Repository\URLAliasService $urlAliasService |
2357 | - * @param array $expectedSubItemAliases |
|
2357 | + * @param string[] $expectedSubItemAliases |
|
2358 | 2358 | */ |
2359 | 2359 | private function assertAliasesBeforeCopy($urlAliasService, array $expectedSubItemAliases) |
2360 | 2360 | { |