mirror of
https://github.com/flarum/framework.git
synced 2025-01-22 23:40:45 +08:00
Make StyleCI happy
This commit is contained in:
parent
a57c337a24
commit
4ef40435e3
|
@ -10,7 +10,6 @@
|
|||
|
||||
namespace Flarum\Api\Serializer;
|
||||
|
||||
use Flarum\Core\Access\Gate;
|
||||
use Flarum\Forum\UrlGenerator;
|
||||
use Flarum\Foundation\Application;
|
||||
use Flarum\Settings\SettingsRepositoryInterface;
|
||||
|
|
|
@ -41,7 +41,7 @@ class LessCompiler extends RevisionCompiler
|
|||
if (! count($this->files) || ! count($this->strings)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
ini_set('xdebug.max_nesting_level', 200);
|
||||
|
||||
$parser = new Less_Parser([
|
||||
|
|
|
@ -73,13 +73,13 @@ abstract class AbstractModel extends Eloquent
|
|||
public function __construct(array $attributes = [])
|
||||
{
|
||||
$defaults = [];
|
||||
|
||||
|
||||
static::$dispatcher->fire(
|
||||
new ConfigureModelDefaultAttributes($this, $defaults)
|
||||
);
|
||||
|
||||
$this->attributes = $defaults;
|
||||
|
||||
|
||||
parent::__construct($attributes);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user