cleaning up code.
This commit is contained in:
parent
d558387b85
commit
263d6145a7
|
@ -176,7 +176,7 @@ public static function disable($bundle)
|
||||||
/**
|
/**
|
||||||
* Determine which bundle handles the given URI.
|
* Determine which bundle handles the given URI.
|
||||||
*
|
*
|
||||||
* If no bundle is assigned to handle the URI, the default bundle is returned.
|
* The default bundle is returned if no other bundle is assigned.
|
||||||
*
|
*
|
||||||
* @param string $uri
|
* @param string $uri
|
||||||
* @return string
|
* @return string
|
||||||
|
|
|
@ -75,7 +75,7 @@ public static function get($key, $default = null)
|
||||||
$items = static::$items[$bundle][$file];
|
$items = static::$items[$bundle][$file];
|
||||||
|
|
||||||
// If a specific configuration item was not requested, the key will be null,
|
// If a specific configuration item was not requested, the key will be null,
|
||||||
// meaning we need to return the entire array of configuration item from the
|
// meaning we'll to return the entire array of configuration item from the
|
||||||
// requested configuration file. Otherwise we can return the item.
|
// requested configuration file. Otherwise we can return the item.
|
||||||
if (is_null($item))
|
if (is_null($item))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue