@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | /** |
112 | 112 | * Get initial field data for valid object creation. |
113 | 113 | * |
114 | - * @return mixed |
|
114 | + * @return TimeValue |
|
115 | 115 | */ |
116 | 116 | public function getValidCreationFieldData() |
117 | 117 | { |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | /** |
178 | 178 | * Get update field externals data. |
179 | 179 | * |
180 | - * @return array |
|
180 | + * @return TimeValue |
|
181 | 181 | */ |
182 | 182 | public function getValidUpdateFieldData() |
183 | 183 | { |
@@ -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 | { |
@@ -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 |
@@ -433,9 +433,9 @@ |
||
433 | 433 | /** |
434 | 434 | * testLoadObjectStateGroupsLoadedExpectedGroups. |
435 | 435 | * |
436 | - * @param array $loadObjectStateGroups |
|
437 | 436 | * |
438 | 437 | * @depends testLoadObjectStateGroups |
438 | + * @param string $class |
|
439 | 439 | */ |
440 | 440 | protected function assertObjectsLoadedByIdentifiers(array $expectedIdentifiers, array $loadedObjects, $class) |
441 | 441 | { |
@@ -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 | */ |
@@ -229,6 +229,9 @@ discard block |
||
229 | 229 | return __DIR__ . '/../../../../../../var'; |
230 | 230 | } |
231 | 231 | |
232 | + /** |
|
233 | + * @param string $sourceDir |
|
234 | + */ |
|
232 | 235 | protected function cleanupVarDir($sourceDir) |
233 | 236 | { |
234 | 237 | if ($this->getServiceContainer()->getInnerContainer()->has('ezpublish.core.io.flysystem.default_filesystem')) { |
@@ -316,7 +319,7 @@ discard block |
||
316 | 319 | /** |
317 | 320 | * Applies the given SQL $statements to the database in use. |
318 | 321 | * |
319 | - * @param array $statements |
|
322 | + * @param string[] $statements |
|
320 | 323 | */ |
321 | 324 | protected function applyStatements(array $statements) |
322 | 325 | { |
@@ -1825,6 +1825,11 @@ |
||
1825 | 1825 | return $userGroup; |
1826 | 1826 | } |
1827 | 1827 | |
1828 | + /** |
|
1829 | + * @param string $login |
|
1830 | + * @param string $password |
|
1831 | + * @param integer $type |
|
1832 | + */ |
|
1828 | 1833 | private function createHash($login, $password, $type) |
1829 | 1834 | { |
1830 | 1835 | switch ($type) { |