Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed incorrect type-hint for parameter of type class-string. #370

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
thirsch marked this conversation as resolved.
Show resolved Hide resolved
* @param string $params An array of options for the handler class initialization
thirsch marked this conversation as resolved.
Show resolved Hide resolved
*/
public function registerConfigHandler($handler, $class, $params = [])
{
Expand Down