Skip to content

Commit

Permalink
Set config argument default value to null
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Oct 12, 2014
1 parent 50f48ee commit f0000b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/StaticConfigTrait.php
Expand Up @@ -146,7 +146,7 @@ public static function configured() {
* @param array $config An array with a `url` key mapping to a string dsn
* @return mixed null when adding configuration and an array of configuration data when reading.
*/
public static function parseDsn($config) {
public static function parseDsn($config = null) {
if (!is_array($config) || !isset($config['url'])) {
return $config;
}
Expand Down

0 comments on commit f0000b0

Please sign in to comment.