Completed
Pull Request — master (#40)
by
unknown
12:11 queued 09:42
created
Classes/Services/BeServices.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -251,6 +251,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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');
Please login to merge, or discard this patch.