Skip to content

Commit 998e779

Browse files
authored
Fix: Correct type-hint for parameters sfConfigCache (#370)
1 parent 3f0adca commit 998e779

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/config/sfConfigCache.class.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ public function import($config, $once = true, $optional = false)
157157
/**
158158
* Registers a configuration handler.
159159
*
160-
* @param string $handler The handler to use when parsing a configuration file
161-
* @param class $class A configuration handler class
162-
* @param string $params An array of options for the handler class initialization
160+
* @param string $handler The handler to use when parsing a configuration file
161+
* @param class-string<sfConfigHandler> $class A configuration handler class
162+
* @param string[] $params An array of options for the handler class initialization
163163
*/
164164
public function registerConfigHandler($handler, $class, $params = [])
165165
{

0 commit comments

Comments
 (0)