Skip to content

Commit

Permalink
Merge pull request #69 from spatie/analysis-5ZWVmY
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
freekmurze authored Mar 3, 2020
2 parents 5ff2045 + 6817c5d commit ddce7aa
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Events/StatusUpdated.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Spatie\ModelStatus\Events;

use Spatie\ModelStatus\Status;
use Illuminate\Database\Eloquent\Model;
use Spatie\ModelStatus\Status;

class StatusUpdated
{
Expand Down
8 changes: 4 additions & 4 deletions src/HasStatuses.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace Spatie\ModelStatus;

use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Relations\MorphMany;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Database\Query\Builder as QueryBuilder;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Eloquent\Builder;
use Spatie\ModelStatus\Events\StatusUpdated;
use Spatie\ModelStatus\Exceptions\InvalidStatus;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Database\Eloquent\Relations\MorphMany;
use Illuminate\Database\Query\Builder as QueryBuilder;

trait HasStatuses
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Events/StatusEventsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace Spatie\ModelStatus\Tests\Events;

use Illuminate\Support\Facades\Event;
use Spatie\ModelStatus\Tests\TestCase;
use Spatie\ModelStatus\Events\StatusUpdated;
use Spatie\ModelStatus\Tests\Models\TestModel;
use Spatie\ModelStatus\Tests\TestCase;

class StatusEventsTest extends TestCase
{
Expand Down
6 changes: 3 additions & 3 deletions tests/HasStatusesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace Spatie\ModelStatus\Tests;

use Spatie\ModelStatus\Tests\Models\TestModel;
use Spatie\ModelStatus\Exceptions\InvalidStatus;
use Illuminate\Database\Eloquent\Relations\Relation;
use Spatie\ModelStatus\Tests\Models\ValidationTestModel;
use Spatie\ModelStatus\Exceptions\InvalidStatus;
use Spatie\ModelStatus\Tests\Models\AlternativeStatusModel;
use Spatie\ModelStatus\Tests\Models\CustomModelKeyStatusModel;
use Spatie\ModelStatus\Tests\Models\TestModel;
use Spatie\ModelStatus\Tests\Models\ValidationTestModel;

class HasStatusesTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Models/TestModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Spatie\ModelStatus\Tests\Models;

use Spatie\ModelStatus\HasStatuses;
use Illuminate\Database\Eloquent\Model;
use Spatie\ModelStatus\HasStatuses;

class TestModel extends Model
{
Expand Down

0 comments on commit ddce7aa

Please sign in to comment.