summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/template.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-07-19 19:44:10 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 08:20:16 +0200
commitdfd8125aeb4a95df20041890dcffd50ba2592fee (patch)
treec9c9aaf0b7c4e2244b0d5752576453080acddf7e /lib/private/legacy/template.php
parent10414d2e7d9f5605057d7432e899829bc5ba1dcd (diff)
downloadnextcloud-server-dfd8125aeb4a95df20041890dcffd50ba2592fee.tar.gz
nextcloud-server-dfd8125aeb4a95df20041890dcffd50ba2592fee.zip
Replace wrong PHPDocs
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/legacy/template.php')
-rw-r--r--lib/private/legacy/template.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/private/legacy/template.php b/lib/private/legacy/template.php
index 08ee0abaafe..8c6185cd556 100644
--- a/lib/private/legacy/template.php
+++ b/lib/private/legacy/template.php
@@ -291,10 +291,11 @@ class OC_Template extends \OC\Template\Base {
}
/**
- * Print a fatal error page and terminates the script
- * @param string $error_msg The error message to show
- * @param string $hint An optional hint message - needs to be properly escaped
- */
+ * Print a fatal error page and terminates the script
+ * @param string $error_msg The error message to show
+ * @param string $hint An optional hint message - needs to be properly escape
+ * @suppress PhanAccessMethodInternal
+ */
public static function printErrorPage( $error_msg, $hint = '' ) {
if (\OC_App::isEnabled('theming') && !\OC_App::isAppLoaded('theming')) {
\OC_App::loadApp('theming');
@@ -328,6 +329,7 @@ class OC_Template extends \OC\Template\Base {
* @param Exception|Throwable $exception
* @param bool $fetchPage
* @return bool|string
+ * @suppress PhanAccessMethodInternal
*/
public static function printExceptionErrorPage($exception, $fetchPage = false) {
try {