Skip to content

Commit

Permalink
Using a more specific type-hint and fixed the hint for $params.
Browse files Browse the repository at this point in the history
  • Loading branch information
thirsch committed Apr 5, 2024
1 parent 76131ab commit 36c6b87
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-string $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<sfConfigHandler> $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 36c6b87

Please sign in to comment.