mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 21:52:21 +00:00
1.4.5 patch - formatting + composer replace
This commit is contained in:
parent
5a94c021da
commit
19f21219f8
11 changed files with 24 additions and 16 deletions
|
@ -185,7 +185,7 @@ class Resque_Redis
|
|||
// Check the URI scheme
|
||||
$validSchemes = ['redis', 'tcp'];
|
||||
if (isset($parts['scheme']) && !in_array($parts['scheme'], $validSchemes)) {
|
||||
throw new \InvalidArgumentException("Invalid DSN. Supported schemes are " . implode(', ', $validSchemes));
|
||||
throw new InvalidArgumentException("Invalid DSN. Supported schemes are " . implode(', ', $validSchemes));
|
||||
}
|
||||
|
||||
// Allow simple 'hostname' format, which `parse_url` treats as a path, not host.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue