Update copyright notices, update German language.

This commit is contained in:
James Cole
2016-09-17 07:57:32 +02:00
parent 04461a4ab8
commit 6e33e26ddf
32 changed files with 844 additions and 652 deletions

View File

@@ -1,4 +1,12 @@
<?php
/**
* ModelFactory.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
declare(strict_types = 1);
/*
|--------------------------------------------------------------------------
@@ -11,13 +19,15 @@
|
*/
$factory->define(FireflyIII\User::class, function (Faker\Generator $faker) {
$factory->define(
FireflyIII\User::class, function (Faker\Generator $faker) {
static $password;
return [
'name' => $faker->name,
'email' => $faker->safeEmail,
'password' => $password ?: $password = bcrypt('secret'),
'name' => $faker->name,
'email' => $faker->safeEmail,
'password' => $password ?: $password = bcrypt('secret'),
'remember_token' => str_random(10),
];
});
}
);