@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | /** |
60 | 60 | * @param $uid |
61 | - * @param $table |
|
61 | + * @param string $table |
|
62 | 62 | * @param $lUid |
63 | 63 | * @return mixed |
64 | 64 | */ |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | |
76 | 76 | /** |
77 | 77 | * @param $uid |
78 | - * @param $table |
|
78 | + * @param string $table |
|
79 | 79 | * @return \AOE\Languagevisibility\Element |
80 | 80 | */ |
81 | 81 | public static function getElement($uid, $table) { |
@@ -88,8 +88,8 @@ discard block |
||
88 | 88 | } |
89 | 89 | |
90 | 90 | /** |
91 | - * @param $element |
|
92 | - * @param $lUid |
|
91 | + * @param \AOE\Languagevisibility\Element $element |
|
92 | + * @param integer $lUid |
|
93 | 93 | * @return mixed |
94 | 94 | */ |
95 | 95 | public static function getOverlayLanguageIdForElement($element, $lUid) { |
@@ -102,8 +102,8 @@ discard block |
||
102 | 102 | |
103 | 103 | /** |
104 | 104 | * @param $uid |
105 | - * @param $table |
|
106 | - * @param $lUid |
|
105 | + * @param string $table |
|
106 | + * @param integer $lUid |
|
107 | 107 | * @return mixed |
108 | 108 | */ |
109 | 109 | public static function getOverlayLanguageIdForElementRecord($uid, $table, $lUid) { |
@@ -251,6 +251,7 @@ discard block |
||
251 | 251 | * b) edit page record: only if the record is only visible in languages where the user has access to |
252 | 252 | * b.1) also if the languages taht are visibile and falls back to allowed languages |
253 | 253 | * c) delete: same as for edit (only if user has access to all visible languages) |
254 | + * @param integer $id |
|
254 | 255 | */ |
255 | 256 | public static function hasUserAccessToPageRecord($id, $cmd = 'edit') { |
256 | 257 | if ($cmd == 'new') { |
@@ -382,7 +383,7 @@ discard block |
||
382 | 383 | /** |
383 | 384 | * returns array with the visibility options that are allowed for the current user. |
384 | 385 | * |
385 | - * @param tx_languagevisibility_language $language |
|
386 | + * @param Language $language |
|
386 | 387 | * @param bool $isOverlay |
387 | 388 | * @param null $element |
388 | 389 | * @return array |
@@ -465,7 +466,7 @@ discard block |
||
465 | 466 | } |
466 | 467 | |
467 | 468 | /** |
468 | - * @return mixed |
|
469 | + * @return integer |
|
469 | 470 | */ |
470 | 471 | protected static function _guessCurrentPid() { |
471 | 472 | return \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id'); |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | |
132 | 132 | /** |
133 | 133 | * |
134 | - * @param unknown_type $key |
|
134 | + * @param string $key |
|
135 | 135 | * @param unknown_type $fallbackorder |
136 | 136 | * @param Element $contextElement |
137 | 137 | * @return array |
@@ -323,6 +323,7 @@ discard block |
||
323 | 323 | * |
324 | 324 | * @param int uid |
325 | 325 | * @param Element $el |
326 | + * @param integer $uid |
|
326 | 327 | * @return boolean |
327 | 328 | */ |
328 | 329 | public function isLanguageUidInFallbackOrder($uid, Element $el) { |