Remove unnecessary $model property

This commit is contained in:
Shift 2022-06-21 09:59:41 +00:00
parent 06d910a53b
commit f293170c6a
No known key found for this signature in database
GPG Key ID: 5A96F038425C5A1C
28 changed files with 0 additions and 197 deletions

View File

@ -17,13 +17,6 @@ use Illuminate\Support\Str;
class AccountFactory extends Factory class AccountFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Account::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class ClientContactFactory extends Factory class ClientContactFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = ClientContact::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -17,13 +17,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class ClientFactory extends Factory class ClientFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Client::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -19,14 +19,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class CompanyFactory extends Factory class CompanyFactory extends Factory
{ {
use MakesHash; use MakesHash;
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Company::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -17,13 +17,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class CreditFactory extends Factory class CreditFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Credit::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -17,13 +17,6 @@ use Illuminate\Support\Str;
class CreditInvitationFactory extends Factory class CreditInvitationFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = CreditInvitation::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -17,13 +17,6 @@ use Illuminate\Support\Str;
class DocumentFactory extends Factory class DocumentFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Document::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class ExpenseCategoryFactory extends Factory class ExpenseCategoryFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = ExpenseCategory::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class ExpenseFactory extends Factory class ExpenseFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Expense::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class GatewayFactory extends Factory class GatewayFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Gateway::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -17,13 +17,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class InvoiceFactory extends Factory class InvoiceFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Invoice::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -17,13 +17,6 @@ use Illuminate\Support\Str;
class InvoiceInvitationFactory extends Factory class InvoiceInvitationFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = InvoiceInvitation::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class PaymentFactory extends Factory class PaymentFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Payment::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class ProductFactory extends Factory class ProductFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Product::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class ProjectFactory extends Factory class ProjectFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Project::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -8,13 +8,6 @@ use Illuminate\Support\Str;
class PurchaseOrderInvitationFactory extends Factory class PurchaseOrderInvitationFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = PurchaseOrderInvitation::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class QuoteFactory extends Factory class QuoteFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Quote::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -17,13 +17,6 @@ use Illuminate\Support\Str;
class QuoteInvitationFactory extends Factory class QuoteInvitationFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = QuoteInvitation::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class RecurringExpenseFactory extends Factory class RecurringExpenseFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = RecurringExpense::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class RecurringInvoiceFactory extends Factory class RecurringInvoiceFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = RecurringInvoice::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class RecurringQuoteFactory extends Factory class RecurringQuoteFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = RecurringQuote::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -18,13 +18,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class SubscriptionFactory extends Factory class SubscriptionFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Subscription::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class TaskFactory extends Factory class TaskFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Task::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class TaskStatusFactory extends Factory class TaskStatusFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = TaskStatus::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -17,13 +17,6 @@ use Illuminate\Support\Str;
class TaxRateFactory extends Factory class TaxRateFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = TaxRate::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class UserFactory extends Factory class UserFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = User::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -16,13 +16,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class VendorContactFactory extends Factory class VendorContactFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = VendorContact::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *

View File

@ -17,13 +17,6 @@ use Illuminate\Support\Str;
class VendorFactory extends Factory class VendorFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Vendor::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *