From 6e0d0e38321dda6075586c12244c73eff6623565 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 13 Jun 2024 10:17:13 +0000 Subject: docu and remove superfluous break statement after return statement --- include/security.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/security.php') diff --git a/include/security.php b/include/security.php index bc44704d0..545788bcd 100644 --- a/include/security.php +++ b/include/security.php @@ -8,7 +8,7 @@ use Zotlabs\Lib\Config; /** - * @param int $user_record The account_id + * @param array $user_record The account record * @param array $channel * @param bool $login_initial default false * @param bool $interactive default false @@ -908,7 +908,6 @@ function zarIsDuty($wd=NULL, $hhmm=NULL, $op='isOpen') { } } return $dutyis; - break; case 'nextOpen': /** @@ -953,7 +952,6 @@ function zarIsDuty($wd=NULL, $hhmm=NULL, $op='isOpen') { } } return $is1; // false or array - break; default: // -- cgit v1.2.3