@@ -47,7 +47,7 @@ class Authorize extends Auth\ProcessingFilter
4747 /**
4848 * Array of localised rejection messages
4949 *
50- * @var array
50+ * @var string[]
5151 */
5252 protected array $ reject_msg = [];
5353
@@ -60,9 +60,9 @@ class Authorize extends Auth\ProcessingFilter
6060
6161 /**
6262 * Array of valid users. Each element is a regular expression. You should
63- * user \ to escape special chars, like '.' etc.
63+ * use \ to escape special chars, like '.' etc.
6464 *
65- * @param array
65+ * @var array<mixed>
6666 */
6767 protected array $ valid_attribute_values = [];
6868
@@ -82,7 +82,7 @@ class Authorize extends Auth\ProcessingFilter
8282 * Initialize this filter.
8383 * Validate configuration parameters.
8484 *
85- * @param array $config Configuration information about this filter.
85+ * @param array<mixed> $config Configuration information about this filter.
8686 * @param mixed $reserved For future use.
8787 */
8888 public function __construct (array $ config , $ reserved )
@@ -155,7 +155,7 @@ public function __construct(array $config, $reserved)
155155 /**
156156 * Apply filter to validate attributes.
157157 *
158- * @param array &$state The current request
158+ * @param array<mixed> &$state The current request
159159 */
160160 public function process (array &$ state ): void
161161 {
@@ -225,7 +225,7 @@ public function process(array &$state): void
225225 * thinking in case a "chained" ACL is needed, more complex
226226 * permission logic.
227227 *
228- * @param array $state
228+ * @param array<mixed> $state
229229 */
230230 protected function unauthorized (array &$ state ): void
231231 {
0 commit comments