Skip to content

Commit e9f0aee

Browse files
committed
Merge branch 'main' into shift-117651
2 parents 287cd79 + 003efe8 commit e9f0aee

File tree

73 files changed

+1402
-1386
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+1402
-1386
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ We'd like to thank these **amazing companies** for sponsoring us. If you are int
2525
- [Fathom](https://usefathom.com)
2626
- [Tinkerwell](https://tinkerwell.app)
2727
- [Skynet Technologies](https://www.skynettechnologies.com/hire-laravel-developer)
28-
- [Steadfast Collective](https://steadfastcollective.com/uk-laravel-agency)
2928
- [BairesDev](https://www.bairesdev.com/sponsoring-open-source-projects/)
3029
- [Remotely Works](https://www.remotely.works/sponsoring-open-source-projects)
30+
- [Zunction](https://zunction.io)
3131

3232
## Requirements
3333

app/Concerns/ProvidesSubscriptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function hasSubscriber(User $user): bool
4040

4141
public function subscribe(User $user): Subscription
4242
{
43-
$subscription = new Subscription();
43+
$subscription = new Subscription;
4444
$subscription->uuid = Uuid::uuid4()->toString();
4545
$subscription->userRelation()->associate($user);
4646
$subscription->subscriptionAbleRelation()->associate($this);

app/Events/ArticleWasApproved.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@ final class ArticleWasApproved
99
{
1010
use SerializesModels;
1111

12-
public function __construct(public Article $article)
13-
{
14-
}
12+
public function __construct(public Article $article) {}
1513
}

app/Events/ArticleWasSubmittedForApproval.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@ class ArticleWasSubmittedForApproval
99
{
1010
use SerializesModels;
1111

12-
public function __construct(public Article $article)
13-
{
14-
}
12+
public function __construct(public Article $article) {}
1513
}

app/Events/EmailAddressWasChanged.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@ class EmailAddressWasChanged
99
{
1010
use SerializesModels;
1111

12-
public function __construct(public User $user)
13-
{
14-
}
12+
public function __construct(public User $user) {}
1513
}

app/Events/ReplyWasCreated.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@ final class ReplyWasCreated
99
{
1010
use SerializesModels;
1111

12-
public function __construct(public Reply $reply)
13-
{
14-
}
12+
public function __construct(public Reply $reply) {}
1513
}

app/Events/SpamWasReported.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@ final class SpamWasReported
99
{
1010
use SerializesModels;
1111

12-
public function __construct(public Spam $spam)
13-
{
14-
}
12+
public function __construct(public Spam $spam) {}
1513
}

app/Events/ThreadWasCreated.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@ final class ThreadWasCreated
99
{
1010
use SerializesModels;
1111

12-
public function __construct(public Thread $thread)
13-
{
14-
}
12+
public function __construct(public Thread $thread) {}
1513
}

app/Http/Requests/ArticleRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function rules(): array
1414
{
1515
return [
1616
'title' => ['required', 'max:100'],
17-
'body' => ['required', new HttpImageRule()],
17+
'body' => ['required', new HttpImageRule],
1818
'tags' => 'array|nullable',
1919
'tags.*' => 'exists:tags,id',
2020
'original_url' => 'url|nullable',

app/Http/Requests/CreateReplyRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class CreateReplyRequest extends Request
1313
public function rules(): array
1414
{
1515
return [
16-
'body' => ['required', new HttpImageRule(), new InvalidMentionRule()],
16+
'body' => ['required', new HttpImageRule, new InvalidMentionRule],
1717
'replyable_id' => 'required',
1818
'replyable_type' => 'required|in:'.Thread::TABLE,
1919
];

0 commit comments

Comments
 (0)