1
0
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:
Toby Zerner
2016-02-25 22:09:39 -05:00
committed by StyleCI Bot
parent 83c22d73a4
commit a6cf10f854
96 changed files with 240 additions and 245 deletions

View File

@@ -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));

View File

@@ -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;