@@ -937,7 +937,7 @@ |
||
937 | 937 | * |
938 | 938 | * @param string $dirPrefix Path relative to PATH_site |
939 | 939 | * @param bool $noAlternative If set, Do not look for alternative path! Just return FALSE |
940 | - * @return string|bool If a path is available that will be returned, otherwise FALSE. |
|
940 | + * @return string|false If a path is available that will be returned, otherwise FALSE. |
|
941 | 941 | */ |
942 | 942 | public function verifyFolderAccess($dirPrefix, $noAlternative = false) |
943 | 943 | { |
@@ -266,6 +266,7 @@ discard block |
||
266 | 266 | * Check if a file operation (= action) is allowed for this file |
267 | 267 | * |
268 | 268 | * @param string $action, can be read, write, delete |
269 | + * @param string $action |
|
269 | 270 | * @return bool |
270 | 271 | */ |
271 | 272 | public function checkActionPermission($action) |
@@ -401,7 +402,7 @@ discard block |
||
401 | 402 | } |
402 | 403 | |
403 | 404 | /** |
404 | - * @param $key |
|
405 | + * @param string $key |
|
405 | 406 | * @internal Only for use in Repositories and indexer |
406 | 407 | * @return mixed |
407 | 408 | */ |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | * 'bar' => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_DESCENDING |
268 | 268 | * ) |
269 | 269 | * |
270 | - * @return array |
|
270 | + * @return integer |
|
271 | 271 | * @api |
272 | 272 | */ |
273 | 273 | public function getOrderings() |
@@ -399,7 +399,7 @@ discard block |
||
399 | 399 | * Performs a logical conjunction of the given constraints. The method takes one or more constraints and concatenates them with a boolean AND. |
400 | 400 | * It also accepts a single array of constraints to be concatenated. |
401 | 401 | * |
402 | - * @param mixed $constraint1 The first of multiple constraints or an array of constraints. |
|
402 | + * @param Qom\ConstraintInterface $constraint1 The first of multiple constraints or an array of constraints. |
|
403 | 403 | * @throws Exception\InvalidNumberOfConstraintsException |
404 | 404 | * @return \TYPO3\CMS\Extbase\Persistence\Generic\Qom\AndInterface |
405 | 405 | * @api |
@@ -465,7 +465,7 @@ discard block |
||
465 | 465 | * Returns an equals criterion used for matching objects against a query |
466 | 466 | * |
467 | 467 | * @param string $propertyName The name of the property to compare against |
468 | - * @param mixed $operand The value to compare with |
|
468 | + * @param boolean $operand The value to compare with |
|
469 | 469 | * @param bool $caseSensitive Whether the equality test should be done case-sensitive |
470 | 470 | * @return \TYPO3\CMS\Extbase\Persistence\Generic\Qom\ComparisonInterface |
471 | 471 | * @api |
@@ -616,7 +616,7 @@ discard block |
||
616 | 616 | } |
617 | 617 | |
618 | 618 | /** |
619 | - * @return array |
|
619 | + * @return string[] |
|
620 | 620 | */ |
621 | 621 | public function __sleep() |
622 | 622 | { |
@@ -60,7 +60,6 @@ |
||
60 | 60 | |
61 | 61 | /** |
62 | 62 | * @var \TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface |
63 | - |
|
64 | 63 | */ |
65 | 64 | protected $persistenceManager; |
66 | 65 |
@@ -784,8 +784,8 @@ |
||
784 | 784 | * @param string $string |
785 | 785 | * @param int $start |
786 | 786 | * @param int $length |
787 | - * @param array $list |
|
788 | - * @return bool |
|
787 | + * @param string[] $list |
|
788 | + * @return integer |
|
789 | 789 | */ |
790 | 790 | public function StringAt($string, $start, $length, $list) |
791 | 791 | { |
@@ -134,7 +134,7 @@ |
||
134 | 134 | * Cleans $theDir for slashes in the end of the string and returns the new path, if it exists on the server. |
135 | 135 | * |
136 | 136 | * @param string $theDir Directory path to check |
137 | - * @return bool|string Returns the cleaned up directory name if OK, otherwise FALSE. |
|
137 | + * @return string|false Returns the cleaned up directory name if OK, otherwise FALSE. |
|
138 | 138 | */ |
139 | 139 | protected function is_directory($theDir) |
140 | 140 | { |
@@ -175,7 +175,7 @@ |
||
175 | 175 | * @param Folder $folder |
176 | 176 | * @param string $extensionList |
177 | 177 | * |
178 | - * @return FileInterface[]|Folder[] |
|
178 | + * @return File[] |
|
179 | 179 | */ |
180 | 180 | protected function getFolderContent(Folder $folder, $extensionList) |
181 | 181 | { |
@@ -40,7 +40,7 @@ |
||
40 | 40 | /** |
41 | 41 | * @param Folder $folder |
42 | 42 | * @param string $extensionList |
43 | - * @return FileInterface[]|Folder[] |
|
43 | + * @return Folder[] |
|
44 | 44 | */ |
45 | 45 | protected function getFolderContent(Folder $folder, $extensionList) |
46 | 46 | { |
@@ -29,6 +29,10 @@ |
||
29 | 29 | */ |
30 | 30 | protected $record; |
31 | 31 | |
32 | + /** |
|
33 | + * @param string $tableName |
|
34 | + * @param integer $uid |
|
35 | + */ |
|
32 | 36 | protected static function fetch($tableName, $uid) |
33 | 37 | { |
34 | 38 | $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable($tableName); |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * Finds a record collection by uid. |
50 | 50 | * |
51 | 51 | * @param int $uid The uid to be looked up |
52 | - * @return NULL|\TYPO3\CMS\Core\Collection\AbstractRecordCollection |
|
52 | + * @return StaticRecordCollection|null |
|
53 | 53 | */ |
54 | 54 | public function findByUid($uid) |
55 | 55 | { |