| @@ -105,7 +105,7 @@ | ||
| 105 | 105 | */ | 
| 106 | 106 | public function get(string $key, mixed $default = null): mixed | 
| 107 | 107 |      { | 
| 108 | - list($group, ) = $this->parseKey($key); | |
| 108 | + list($group,) = $this->parseKey($key); | |
| 109 | 109 | $this->load($group); | 
| 110 | 110 | |
| 111 | 111 | return Arr::get($this->items, $key, $default); | 
| @@ -56,8 +56,7 @@ discard block | ||
| 56 | 56 | * @template T | 
| 57 | 57 | * @implements ArrayAccess<string, mixed> | 
| 58 | 58 | */ | 
| 59 | -class Config implements ArrayAccess | |
| 60 | -{ | |
| 59 | +class Config implements ArrayAccess { | |
| 61 | 60 | /** | 
| 62 | 61 | * The configuration loader to use | 
| 63 | 62 | * @var LoaderInterface | 
| @@ -81,8 +80,7 @@ discard block | ||
| 81 | 80 | * @param LoaderInterface $loader the loader to use | 
| 82 | 81 | * @param string $env the name of the environment | 
| 83 | 82 | */ | 
| 84 | - public function __construct(LoaderInterface $loader, string $env = '') | |
| 85 | -    { | |
| 83 | +    public function __construct(LoaderInterface $loader, string $env = '') { | |
| 86 | 84 | $this->loader = $loader; | 
| 87 | 85 | $this->env = $env; | 
| 88 | 86 | } | 
| @@ -189,16 +187,14 @@ discard block | ||
| 189 | 187 | /** | 
| 190 | 188 |       * {@inheritdoc} | 
| 191 | 189 | */ | 
| 192 | - public function offsetExists($key) | |
| 193 | -    { | |
| 190 | +    public function offsetExists($key) { | |
| 194 | 191 | return $this->has($key); | 
| 195 | 192 | } | 
| 196 | 193 | |
| 197 | 194 | /** | 
| 198 | 195 |       * {@inheritdoc} | 
| 199 | 196 | */ | 
| 200 | - public function offsetGet($key) | |
| 201 | -    { | |
| 197 | +    public function offsetGet($key) { | |
| 202 | 198 | return $this->get($key); | 
| 203 | 199 | } | 
| 204 | 200 | |
| @@ -208,16 +204,14 @@ discard block | ||
| 208 | 204 | * @param mixed $value | 
| 209 | 205 | * @return void | 
| 210 | 206 | */ | 
| 211 | - public function offsetSet($key, $value) | |
| 212 | -    { | |
| 207 | +    public function offsetSet($key, $value) { | |
| 213 | 208 | $this->set($key, $value); | 
| 214 | 209 | } | 
| 215 | 210 | |
| 216 | 211 | /** | 
| 217 | 212 |       * {@inheritdoc} | 
| 218 | 213 | */ | 
| 219 | - public function offsetUnset($key) | |
| 220 | -    { | |
| 214 | +    public function offsetUnset($key) { | |
| 221 | 215 | $this->set($key, null); | 
| 222 | 216 | } | 
| 223 | 217 | |