@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | /** |
119 | 119 | * Get initial field data for valid object creation. |
120 | 120 | * |
121 | - * @return mixed |
|
121 | + * @return SelectionValue |
|
122 | 122 | */ |
123 | 123 | public function getValidCreationFieldData() |
124 | 124 | { |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | /** |
188 | 188 | * Get update field externals data. |
189 | 189 | * |
190 | - * @return array |
|
190 | + * @return SelectionValue |
|
191 | 191 | */ |
192 | 192 | public function getValidUpdateFieldData() |
193 | 193 | { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | /** |
106 | 106 | * Get initial field data for valid object creation. |
107 | 107 | * |
108 | - * @return mixed |
|
108 | + * @return TextBlockValue |
|
109 | 109 | */ |
110 | 110 | public function getValidCreationFieldData() |
111 | 111 | { |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | /** |
171 | 171 | * Get update field externals data. |
172 | 172 | * |
173 | - * @return array |
|
173 | + * @return TextBlockValue |
|
174 | 174 | */ |
175 | 175 | public function getValidUpdateFieldData() |
176 | 176 | { |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | /** |
117 | 117 | * Get initial field data for valid object creation. |
118 | 118 | * |
119 | - * @return mixed |
|
119 | + * @return TextLineValue |
|
120 | 120 | */ |
121 | 121 | public function getValidCreationFieldData() |
122 | 122 | { |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | /** |
190 | 190 | * Get update field externals data. |
191 | 191 | * |
192 | - * @return array |
|
192 | + * @return TextLineValue |
|
193 | 193 | */ |
194 | 194 | public function getValidUpdateFieldData() |
195 | 195 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Get initial field data for valid object creation. |
100 | 100 | * |
101 | - * @return mixed |
|
101 | + * @return UrlValue |
|
102 | 102 | */ |
103 | 103 | public function getValidCreationFieldData() |
104 | 104 | { |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | /** |
169 | 169 | * Get update field externals data. |
170 | 170 | * |
171 | - * @return array |
|
171 | + * @return UrlValue |
|
172 | 172 | */ |
173 | 173 | public function getValidUpdateFieldData() |
174 | 174 | { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | /** |
106 | 106 | * Get initial field externals data. |
107 | 107 | * |
108 | - * @return array |
|
108 | + * @return UserValue |
|
109 | 109 | */ |
110 | 110 | public function getValidCreationFieldData() |
111 | 111 | { |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | /** |
179 | 179 | * Get update field externals data. |
180 | 180 | * |
181 | - * @return array |
|
181 | + * @return UserValue |
|
182 | 182 | */ |
183 | 183 | public function getValidUpdateFieldData() |
184 | 184 | { |
@@ -3826,6 +3826,7 @@ discard block |
||
3826 | 3826 | * Test for the findContent() method. |
3827 | 3827 | * |
3828 | 3828 | * @see \eZ\Publish\API\Repository\SearchService::findContent() |
3829 | + * @param string $queryType |
|
3829 | 3830 | */ |
3830 | 3831 | public function testUserMetadataGroupHorizontalFilterContent($queryType = null) |
3831 | 3832 | { |
@@ -3915,6 +3916,7 @@ discard block |
||
3915 | 3916 | * Test for the findLocations() method. |
3916 | 3917 | * |
3917 | 3918 | * @see \eZ\Publish\API\Repository\SearchService::findLocations() |
3919 | + * @param string $queryType |
|
3918 | 3920 | */ |
3919 | 3921 | public function testUserMetadataGroupHorizontalFilterLocation($queryType = null) |
3920 | 3922 | { |
@@ -4354,7 +4356,7 @@ discard block |
||
4354 | 4356 | * |
4355 | 4357 | * @param null|callable $closure |
4356 | 4358 | * |
4357 | - * @return callable |
|
4359 | + * @return \Closure |
|
4358 | 4360 | */ |
4359 | 4361 | private function getContentInfoFixtureClosure($closure = null) |
4360 | 4362 | { |
@@ -132,7 +132,7 @@ |
||
132 | 132 | } |
133 | 133 | |
134 | 134 | /** |
135 | - * @param array $parentLocationIds |
|
135 | + * @param integer[] $parentLocationIds |
|
136 | 136 | * |
137 | 137 | * @return array |
138 | 138 | */ |
@@ -22,6 +22,9 @@ |
||
22 | 22 | return $treeBuilder; |
23 | 23 | } |
24 | 24 | |
25 | + /** |
|
26 | + * @param \Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition $rootNode |
|
27 | + */ |
|
25 | 28 | public function addRestRootResourcesSection($rootNode) |
26 | 29 | { |
27 | 30 | $systemNode = $this->generateScopeBaseNode($rootNode); |
@@ -762,7 +762,7 @@ discard block |
||
762 | 762 | /** |
763 | 763 | * Test for the loadLocationChildren() method. |
764 | 764 | * |
765 | - * @return \eZ\Publish\API\Repository\Values\Content\Location[] |
|
765 | + * @return LocationList |
|
766 | 766 | * |
767 | 767 | * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset) |
768 | 768 | * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildren |
@@ -826,7 +826,7 @@ discard block |
||
826 | 826 | /** |
827 | 827 | * Test for the loadLocationChildren() method. |
828 | 828 | * |
829 | - * @return \eZ\Publish\API\Repository\Values\Content\Location[] |
|
829 | + * @return LocationList |
|
830 | 830 | * |
831 | 831 | * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset, $limit) |
832 | 832 | * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildren |
@@ -855,7 +855,7 @@ discard block |
||
855 | 855 | /** |
856 | 856 | * Test for the loadLocationChildren() method. |
857 | 857 | * |
858 | - * @param \eZ\Publish\API\Repository\Values\Content\Location[] $locations |
|
858 | + * @param LocationList $locations |
|
859 | 859 | * |
860 | 860 | * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset, $limit) |
861 | 861 | * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildrenWithOffsetAndLimit |
@@ -2127,7 +2127,7 @@ discard block |
||
2127 | 2127 | * Assert generated aliases to expected alias return. |
2128 | 2128 | * |
2129 | 2129 | * @param \eZ\Publish\API\Repository\URLAliasService $urlAliasService |
2130 | - * @param array $expectedAliases |
|
2130 | + * @param string[] $expectedAliases |
|
2131 | 2131 | */ |
2132 | 2132 | protected function assertGeneratedAliases($urlAliasService, array $expectedAliases) |
2133 | 2133 | { |
@@ -2139,7 +2139,7 @@ discard block |
||
2139 | 2139 | |
2140 | 2140 | /** |
2141 | 2141 | * @param \eZ\Publish\API\Repository\URLAliasService $urlAliasService |
2142 | - * @param array $expectedSubItemAliases |
|
2142 | + * @param string[] $expectedSubItemAliases |
|
2143 | 2143 | */ |
2144 | 2144 | private function assertAliasesBeforeCopy($urlAliasService, array $expectedSubItemAliases) |
2145 | 2145 | { |