mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 15:33:44 +01:00
Database factories formatting
Database factories formatting
This commit is contained in:
parent
de63bf0ab3
commit
78e7e8927a
@ -6,11 +6,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
|
|||||||
|
|
||||||
class DNSFactory extends Factory
|
class DNSFactory extends Factory
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* Define the model's default state.
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function definition()
|
public function definition()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
@ -6,11 +6,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
|
|||||||
|
|
||||||
class DomainsFactory extends Factory
|
class DomainsFactory extends Factory
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* Define the model's default state.
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function definition()
|
public function definition()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
@ -7,18 +7,8 @@ use Illuminate\Database\Eloquent\Factories\Factory;
|
|||||||
|
|
||||||
class ServerFactory extends Factory
|
class ServerFactory extends Factory
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* The name of the factory's corresponding model.
|
|
||||||
*
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
protected $model = Server::class;
|
protected $model = Server::class;
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the model's default state.
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function definition()
|
public function definition()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -8,18 +8,8 @@ use Illuminate\Support\Str;
|
|||||||
|
|
||||||
class UserFactory extends Factory
|
class UserFactory extends Factory
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* The name of the factory's corresponding model.
|
|
||||||
*
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
protected $model = User::class;
|
protected $model = User::class;
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the model's default state.
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function definition()
|
public function definition()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
Loading…
Reference in New Issue
Block a user