Skip to content

Commit

Permalink
Fix: Correct type-hint for parameters sfConfigCache (FriendsOfSymfony…
Browse files Browse the repository at this point in the history
  • Loading branch information
thirsch authored Apr 5, 2024
1 parent 3f0adca commit 998e779
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<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 998e779

Please sign in to comment.