Skip to content

Commit

Permalink
Petit refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Donov4n committed May 1, 2021
1 parent e89db22 commit 0c445bd
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion server/src/App/Models/Bill.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Robert2\API\Validation\Validator as V;

use Robert2\API\Errors;
use Robert2\API\Config\Config;
use Robert2\API\I18n\I18n;
Expand Down
1 change: 0 additions & 1 deletion server/src/App/Models/Company.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Robert2\API\Validation\Validator as V;

use Robert2\API\Errors;
use Robert2\API\Models\Traits\Taggable;

Expand Down
3 changes: 0 additions & 3 deletions server/src/App/Models/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
namespace Robert2\API\Models;

use Illuminate\Database\Eloquent\Model;
use Robert2\API\Config\Config;
use Robert2\API\Errors;
use Robert2\API\Validation\Validator as V;

Expand All @@ -17,8 +16,6 @@ class Document extends BaseModel

public function __construct(array $attributes = [])
{
Config::getCapsule();

parent::__construct($attributes);

$this->validation = [
Expand Down
1 change: 0 additions & 1 deletion server/src/App/Models/Estimate.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Robert2\API\Validation\Validator as V;

use Robert2\API\Errors;
use Robert2\API\Config\Config;
use Robert2\API\I18n\I18n;
Expand Down
1 change: 0 additions & 1 deletion server/src/App/Models/Material.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

use Illuminate\Database\Eloquent\SoftDeletes;
use Robert2\API\Validation\Validator as V;

use Robert2\API\Models\Traits\Taggable;

class Material extends BaseModel
Expand Down
1 change: 0 additions & 1 deletion server/src/App/Models/Person.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\QueryException;
use Illuminate\Support\Facades\DB;
use Robert2\API\Config\Config;
use Robert2\API\Models\Traits\Taggable;
use Robert2\API\Validation\Validator as V;
Expand Down
1 change: 0 additions & 1 deletion server/src/App/Models/Traits/Taggable.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Builder;

use Robert2\API\Errors;
use Robert2\API\Models\Tag;

Expand Down

0 comments on commit 0c445bd

Please sign in to comment.