Skip to content

Commit 76131ab

Browse files
committed
Fixed incorrect type-hint for parameter of type class-string.
1 parent 3f0adca commit 76131ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/config/sfConfigCache.class.php

Lines changed: 3 additions & 3 deletions
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)