mirror of
https://github.com/flarum/core.git
synced 2025-10-14 00:15:51 +02:00
Applied fixes from StyleCI
This commit is contained in:
@@ -81,9 +81,9 @@ class Group extends AbstractModel
|
||||
$group = new static;
|
||||
|
||||
$group->name_singular = $nameSingular;
|
||||
$group->name_plural = $namePlural;
|
||||
$group->color = $color;
|
||||
$group->icon = $icon;
|
||||
$group->name_plural = $namePlural;
|
||||
$group->color = $color;
|
||||
$group->icon = $icon;
|
||||
|
||||
$group->raise(new GroupWasCreated($group));
|
||||
|
||||
@@ -100,7 +100,7 @@ class Group extends AbstractModel
|
||||
public function rename($nameSingular, $namePlural)
|
||||
{
|
||||
$this->name_singular = $nameSingular;
|
||||
$this->name_plural = $namePlural;
|
||||
$this->name_plural = $namePlural;
|
||||
|
||||
$this->raise(new GroupWasRenamed($this));
|
||||
|
||||
|
Reference in New Issue
Block a user