Completed
Push — 7LTS_compatible ( 1c485a...3be78c )
by Tomas Norre
11:58
created
Classes/Services/VisibilityService.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -85,8 +85,8 @@  discard block
 block discarded – undo
85 85
 	/**
86 86
 	 * returns relevant languageid for overlay record or FALSE if element is not visible for guven language
87 87
 	 *
88
-	 * @param tx_languagevisibility_language $language
89
-	 * @param tx_languagevisibility_element $element
88
+	 * @param Language $language
89
+	 * @param Element $element
90 90
 	 * @return mixed
91 91
 	 */
92 92
 	function getOverlayLanguageIdForLanguageAndElement(Language $language, Element $element) {
@@ -144,8 +144,8 @@  discard block
 block discarded – undo
144 144
 	 * Returns true or FALSE wether the element is visible in the certain language.
145 145
 	 * (sets for internal access only $this->_relevantOverlayLanguageId which holds the overlay languageid)
146 146
 	 *
147
-	 * @param tx_languagevisibility_language $language
148
-	 * @param \tx_languagevisibility_element $element
147
+	 * @param Language $language
148
+	 * @param Element $element
149 149
 	 * @param bool $omitLocal
150 150
 	 * @throws Exception
151 151
 	 * @return boolean
@@ -252,8 +252,8 @@  discard block
 block discarded – undo
252 252
 	 * if the element itself is a translated original record the element is only visible in the specific language
253 253
 	 * If nothing is set the hardcoded default "t" (translated) is returned
254 254
 	 *
255
-	 * @param tx_languagevisibility_language $language
256
-	 * @param tx_languagevisibility_element $element
255
+	 * @param Language $language
256
+	 * @param Element $element
257 257
 	 * @param boolean
258 258
 	 * @return string
259 259
 	 */
@@ -278,8 +278,8 @@  discard block
 block discarded – undo
278 278
 	/**
279 279
 	 * This method can be used to retrieve an informal description for the visibility of an element
280 280
 	 *
281
-	 * @param tx_languagevisibility_language $language
282
-	 * @param tx_languagevisibility_element $element
281
+	 * @param Language $language
282
+	 * @param Element $element
283 283
 	 * @return string
284 284
 	 */
285 285
 	public function getVisibilityDescription(Language $language, Element $element) {
@@ -288,10 +288,10 @@  discard block
 block discarded – undo
288 288
 
289 289
 	/**
290 290
 	 * Create a visiblity object for an element for a given language.
291
-	 * @param tx_languagevisibility_language $language
292
-	 * @param tx_languagevisibility_element $element
291
+	 * @param Language $language
292
+	 * @param Element $element
293 293
 	 * @param boolean $omitLocal
294
-	 * @return tx_languagevisibility_visibility
294
+	 * @return Visibility
295 295
 	 */
296 296
 	protected function getVisibility(Language $language, Element $element, $omitLocal = FALSE) {
297 297
 		$visibility = new Visibility();
Please login to merge, or discard this patch.