diff --git a/app/Helpers/Policy.php b/app/Helpers/Policy.php index 8ed730cacef62da472183258d6079d3d4556b2d8..ac79cef5124ef3b4e6eeef9d7ea8c22194757548 100644 --- a/app/Helpers/Policy.php +++ b/app/Helpers/Policy.php @@ -19,7 +19,7 @@ public static function make() /** * Check if the user has access based on roles. * - * @param array $roles + * @param array $roles * @return bool */ private static function hasAccess($roles): bool @@ -40,7 +40,7 @@ public function get(): bool /** * Set access allowed for specific roles. * - * @param string $roles + * @param string $roles * @return self */ public function allowedFor(string $roles = 'all'): self @@ -53,7 +53,7 @@ public function allowedFor(string $roles = 'all'): self /** * Set access not allowed for specific roles. * - * @param string $roles + * @param string $roles * @return self */ public function notAllowedFor(string $roles = 'all'): self @@ -66,7 +66,7 @@ public function notAllowedFor(string $roles = 'all'): self /** * Set access allowed for a specific year. * - * @param mixed $year + * @param mixed $year * @return self */ public function withYear($year): self @@ -79,9 +79,9 @@ public function withYear($year): self /** * Set access allowed if two expressions are equal. * - * @param mixed $expr1 - * @param mixed $expr2 - * @param bool $strict + * @param mixed $expr1 + * @param mixed $expr2 + * @param bool $strict * @return self */ public function andEqual($expr1, $expr2, $strict = true): self @@ -94,9 +94,9 @@ public function andEqual($expr1, $expr2, $strict = true): self /** * Set access allowed if two expressions are not equal. * - * @param mixed $expr1 - * @param mixed $expr2 - * @param bool $strict + * @param mixed $expr1 + * @param mixed $expr2 + * @param bool $strict * @return self */ public function andNotEqual($expr1, $expr2, $strict = true): self @@ -109,9 +109,9 @@ public function andNotEqual($expr1, $expr2, $strict = true): self /** * Set access allowed if either of two expressions are equal. * - * @param mixed $expr1 - * @param mixed $expr2 - * @param bool $strict + * @param mixed $expr1 + * @param mixed $expr2 + * @param bool $strict * @return self */ public function orEqual($expr1, $expr2, $strict = true): self @@ -124,9 +124,9 @@ public function orEqual($expr1, $expr2, $strict = true): self /** * Set access allowed if either of two expressions are not equal. * - * @param mixed $expr1 - * @param mixed $expr2 - * @param bool $strict + * @param mixed $expr1 + * @param mixed $expr2 + * @param bool $strict * @return self */ public function orNotEqual($expr1, $expr2, $strict = true): self diff --git a/app/Helpers/TemplateProcessor.php b/app/Helpers/TemplateProcessor.php index 5c1f7e87edc98d09b00142d90a9d0da84cc07a11..fd0b685107eff9d18555a54d0c4b70af693a8b74 100644 --- a/app/Helpers/TemplateProcessor.php +++ b/app/Helpers/TemplateProcessor.php @@ -20,7 +20,7 @@ public function gettempDocumentMainPart() /** * Set the main part of the temporary document. * - * @param string $new + * @param string $new * @return void */ public function settempDocumentMainPart($new) @@ -31,7 +31,7 @@ public function settempDocumentMainPart($new) /** * Ensure the subject is UTF-8 encoded. * - * @param string $subject + * @param string $subject * @return string */ protected static function ensureUtf8Encoded($subject) @@ -42,8 +42,8 @@ protected static function ensureUtf8Encoded($subject) /** * Clone a row in the document. * - * @param string $search - * @param int $numberOfClones + * @param string $search + * @param int $numberOfClones * @return void */ public function cloneRow($search, $numberOfClones): void