Skip to content

Commit 16217c2

Browse files
oddvaluegithub-actions[bot]
authored andcommitted
Fix styling
1 parent 8ea1627 commit 16217c2

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

src/Commands/PublishScheduledDrafts.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Illuminate\Console\Command;
66
use InvalidArgumentException;
7-
use Oddvalue\LaravelDrafts\Concerns\HasDrafts;
87
use Oddvalue\LaravelDrafts\Contacts\Draftable;
98

109
class PublishScheduledDrafts extends Command

tests/Post.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
use Illuminate\Database\Eloquent\Relations\HasOne;
1010
use Illuminate\Database\Eloquent\Relations\MorphToMany;
1111
use Oddvalue\LaravelDrafts\Concerns\HasDrafts;
12-
use Oddvalue\LaravelDrafts\Contacts\Draftable;
1312

1413
class Post extends Model
1514
{

tests/SchedulingPost.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@
22

33
namespace Oddvalue\LaravelDrafts\Tests;
44

5-
use Illuminate\Database\Eloquent\Factories\HasFactory;
65
use Illuminate\Database\Eloquent\Model;
7-
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
8-
use Illuminate\Database\Eloquent\Relations\HasMany;
9-
use Illuminate\Database\Eloquent\Relations\HasOne;
10-
use Illuminate\Database\Eloquent\Relations\MorphToMany;
11-
use Oddvalue\LaravelDrafts\Concerns\HasDrafts;
126
use Oddvalue\LaravelDrafts\Contacts\Draftable;
137
use Oddvalue\LaravelDrafts\Database\Factories\PostFactory;
148

tests/SchedulingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
});
3737

3838
it('fails when the model doesnt implement the contract', function (): void {
39-
expect(static fn() => Artisan::call('drafts:publish', ['model' => Post::class]))
39+
expect(static fn () => Artisan::call('drafts:publish', ['model' => Post::class]))
4040
->toThrow(InvalidArgumentException::class);
4141
});
4242

0 commit comments

Comments
 (0)