mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-15 15:51:20 +00:00
Code cleanup
This commit is contained in:
@@ -23,7 +23,6 @@ declare(strict_types=1);
|
||||
use Carbon\Carbon;
|
||||
|
||||
|
||||
|
||||
$factory->define(
|
||||
FireflyIII\Models\Account::class,
|
||||
function (Faker\Generator $faker) {
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
declare(strict_types=1);
|
||||
|
||||
use Carbon\Carbon;
|
||||
use FireflyIII\Models\TransactionJournal;
|
||||
|
||||
|
||||
$factory->define(
|
||||
@@ -29,7 +30,7 @@ $factory->define(
|
||||
return [
|
||||
'user_id' => 1,
|
||||
'attachable_id' => 1,
|
||||
'attachable_type' => \FireflyIII\Models\TransactionJournal::class,
|
||||
'attachable_type' => TransactionJournal::class,
|
||||
'md5' => md5($faker->words(6, true)),
|
||||
'mime' => 'text/plain',
|
||||
'size' => 1,
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* UserFactory.php
|
||||
* Copyright (c) 2018 thegrumpydictator@gmail.com
|
||||
|
||||
Reference in New Issue
Block a user