Code cleanup

This commit is contained in:
James Cole
2019-08-17 10:47:51 +02:00
parent c2296c3ad5
commit 342985d52a
22 changed files with 46 additions and 16 deletions

View File

@@ -23,7 +23,6 @@ declare(strict_types=1);
use Carbon\Carbon;
$factory->define(
FireflyIII\Models\Account::class,
function (Faker\Generator $faker) {

View File

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

View File

@@ -21,6 +21,7 @@
*/
declare(strict_types=1);
/**
* UserFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com