From 998e779350347baf13a0809c38c3831de6bb41d8 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 5 Apr 2024 09:09:35 +0200 Subject: [PATCH] Fix: Correct type-hint for parameters sfConfigCache (#370) --- lib/config/sfConfigCache.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/config/sfConfigCache.class.php b/lib/config/sfConfigCache.class.php index 23de85854..518424f5d 100644 --- a/lib/config/sfConfigCache.class.php +++ b/lib/config/sfConfigCache.class.php @@ -157,9 +157,9 @@ public function import($config, $once = true, $optional = false) /** * Registers a configuration handler. * - * @param string $handler The handler to use when parsing a configuration file - * @param class $class A configuration handler class - * @param string $params An array of options for the handler class initialization + * @param string $handler The handler to use when parsing a configuration file + * @param class-string $class A configuration handler class + * @param string[] $params An array of options for the handler class initialization */ public function registerConfigHandler($handler, $class, $params = []) {