Skip to content

Commit

Permalink
Fixed incorrect type-hint for parameter of type class-string.
Browse files Browse the repository at this point in the history
  • Loading branch information
thirsch committed Apr 4, 2024
1 parent 0c9ba11 commit 3011b9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/config/sfConfigCache.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [])
{
Expand Down

0 comments on commit 3011b9c

Please sign in to comment.