mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix various code style issues.
This commit is contained in:
@@ -42,7 +42,7 @@ class Category extends Model
|
||||
public static function firstOrCreateEncrypted(array $fields)
|
||||
{
|
||||
// everything but the name:
|
||||
$query = Category::orderBy('id');
|
||||
$query = self::orderBy('id');
|
||||
$search = $fields;
|
||||
unset($search['name']);
|
||||
foreach ($search as $name => $value) {
|
||||
@@ -56,7 +56,7 @@ class Category extends Model
|
||||
}
|
||||
}
|
||||
// create it!
|
||||
$category = Category::create($fields);
|
||||
$category = self::create($fields);
|
||||
|
||||
return $category;
|
||||
|
||||
|
Reference in New Issue
Block a user