Skip to content

Commit 3011b9c

Browse files
committed
Fixed incorrect type-hint for parameter of type class-string.
1 parent 0c9ba11 commit 3011b9c

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 $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)