diff --git a/.gitignore b/.gitignore index 50b321e..251fee4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ vendor composer.lock .phpunit.result.cache +.php_cs.cache diff --git a/src/HasPivotEvents.php b/src/HasPivotEvents.php index b216cac..3c5a6fc 100644 --- a/src/HasPivotEvents.php +++ b/src/HasPivotEvents.php @@ -2,9 +2,9 @@ namespace Signifly\PivotEvents; -use Illuminate\Support\Collection; -use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; +use Illuminate\Database\Eloquent\Model; +use Illuminate\Support\Collection; trait HasPivotEvents { diff --git a/tests/PivotEventsTest.php b/tests/PivotEventsTest.php index d0737b8..780e4a0 100644 --- a/tests/PivotEventsTest.php +++ b/tests/PivotEventsTest.php @@ -2,10 +2,10 @@ namespace Signifly\PivotEvents\Test; +use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Support\Facades\Event; use Signifly\PivotEvents\Test\Models\Role; use Signifly\PivotEvents\Test\Models\User; -use Illuminate\Foundation\Testing\RefreshDatabase; class PivotEventsTest extends TestCase {