mirror of
https://github.com/flarum/core.git
synced 2025-10-19 18:56:44 +02:00
Applied fixes from StyleCI
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
|
||||
namespace Flarum\Foundation;
|
||||
|
||||
use Flarum\Core;
|
||||
use Illuminate\Config\Repository as ConfigRepository;
|
||||
use Monolog\Formatter\LineFormatter;
|
||||
use Monolog\Handler\StreamHandler;
|
||||
@@ -165,7 +164,7 @@ abstract class AbstractServer
|
||||
protected function registerLogger(Application $app)
|
||||
{
|
||||
$logger = new Logger($app->environment());
|
||||
$logPath = $app->storagePath() . '/logs/flarum.log';
|
||||
$logPath = $app->storagePath().'/logs/flarum.log';
|
||||
|
||||
$handler = new StreamHandler($logPath, Logger::DEBUG);
|
||||
$handler->setFormatter(new LineFormatter(null, null, true, true));
|
||||
|
@@ -163,7 +163,7 @@ class Application extends Container implements ApplicationContract
|
||||
}
|
||||
|
||||
if ($path) {
|
||||
$url .= '/' . array_get($config, "paths.$path", $path);
|
||||
$url .= '/'.array_get($config, "paths.$path", $path);
|
||||
}
|
||||
|
||||
return $url;
|
||||
|
Reference in New Issue
Block a user