Skip to content

Commit bc884bb

Browse files
committed
formatting
1 parent 8bffdb8 commit bc884bb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Illuminate/Log/LogManager.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,11 @@ protected function createMonologDriver(array $config)
331331
}
332332

333333
$with = array_merge(
334+
['level' => $this->level($config)],
334335
$config['with'] ?? [],
335336
$config['handler_with'] ?? []
336337
);
337338

338-
$with['level'] = $this->level($config);
339-
340339
return new Monolog($this->parseChannel($config), [$this->prepareHandler(
341340
$this->app->make($config['handler'], $with), $config
342341
)]);

0 commit comments

Comments
 (0)