@@ -58,8 +58,8 @@ discard block |
||
58 | 58 | |
59 | 59 | /** |
60 | 60 | * @param $uid |
61 | - * @param $table |
|
62 | - * @param $lUid |
|
61 | + * @param string $table |
|
62 | + * @param integer $lUid |
|
63 | 63 | * @return mixed |
64 | 64 | */ |
65 | 65 | public static function checkVisiblityForElement($uid, $table, $lUid) { |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | |
76 | 76 | /** |
77 | 77 | * @param $uid |
78 | - * @param $table |
|
78 | + * @param string $table |
|
79 | 79 | * @return tx_languagevisibility_element |
80 | 80 | */ |
81 | 81 | public static function getElement($uid, $table) { |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | |
90 | 90 | /** |
91 | 91 | * @param $element |
92 | - * @param $lUid |
|
92 | + * @param integer $lUid |
|
93 | 93 | * @return mixed |
94 | 94 | */ |
95 | 95 | public static function getOverlayLanguageIdForElement($element, $lUid) { |
@@ -274,7 +274,7 @@ |
||
274 | 274 | * This method can be used to retrieve an informal description for the visibility of an element |
275 | 275 | * |
276 | 276 | * @param tx_languagevisibility_language $language |
277 | - * @param tx_languagevisibility_element $element |
|
277 | + * @param \AOE\Languagevisibility\Element $element |
|
278 | 278 | * @return string |
279 | 279 | */ |
280 | 280 | public function getVisibilityDescription(Language $language, Element $element) { |
@@ -129,6 +129,9 @@ |
||
129 | 129 | return array_combine(array_map(function($row) { return $row[3]; }, $testDataSet), $testDataSet); |
130 | 130 | } |
131 | 131 | |
132 | + /** |
|
133 | + * @param integer $uid |
|
134 | + */ |
|
132 | 135 | protected function getContentElementRow($uid) { |
133 | 136 | return $GLOBALS['TYPO3_DB']->exec_SELECTgetSingleRow( |
134 | 137 | '*', |
@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | /** |
383 | 383 | * returns array with the visibility options that are allowed for the current user. |
384 | 384 | * |
385 | - * @param tx_languagevisibility_language $language |
|
385 | + * @param Language $language |
|
386 | 386 | * @param bool $isOverlay |
387 | 387 | * @param null $element |
388 | 388 | * @return array |
@@ -465,7 +465,7 @@ discard block |
||
465 | 465 | } |
466 | 466 | |
467 | 467 | /** |
468 | - * @return mixed |
|
468 | + * @return integer |
|
469 | 469 | */ |
470 | 470 | protected static function _guessCurrentPid() { |
471 | 471 | return \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id'); |