Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
christophrumpel committed Oct 10, 2024
2 parents b7aeadf + c08e66f commit a7daf4d
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 32 deletions.
4 changes: 1 addition & 3 deletions app/Jobs/ImportYoutubeChannelStreamsJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ class ImportYoutubeChannelStreamsJob implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

public function __construct(public string $youTubeChannelId, public string $languageCode = 'en')
{
}
public function __construct(public string $youTubeChannelId, public string $languageCode = 'en') {}

public function handle(): void
{
Expand Down
3 changes: 1 addition & 2 deletions app/Jobs/TweetStreamIsLiveJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ class TweetStreamIsLiveJob implements ShouldQueue

public function __construct(
public Stream $stream,
) {
}
) {}

public function handle(): void
{
Expand Down
3 changes: 1 addition & 2 deletions app/Jobs/TweetStreamIsUpcomingJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ class TweetStreamIsUpcomingJob implements ShouldQueue

public function __construct(
public Stream $stream,
) {
}
) {}

public function handle(): void
{
Expand Down
3 changes: 1 addition & 2 deletions app/Mail/StreamApprovedMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ class StreamApprovedMail extends Mailable

public function __construct(
public Stream $stream
) {
}
) {}

public function build(): self
{
Expand Down
3 changes: 1 addition & 2 deletions app/Mail/StreamRejectedMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ class StreamRejectedMail extends Mailable

public function __construct(
public Stream $stream
) {
}
) {}

public function build(): StreamRejectedMail
{
Expand Down
3 changes: 1 addition & 2 deletions app/Mail/StreamSubmittedMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ class StreamSubmittedMail extends Mailable

public function __construct(
public Stream $stream
) {
}
) {}

public function build(): self
{
Expand Down
3 changes: 1 addition & 2 deletions app/Services/Twitter/OAuthTwitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ class OAuthTwitter implements TwitterInterface
{
public function __construct(
protected TwitterOAuth $twitter,
) {
}
) {}

public function tweet(string $text): ?array
{
Expand Down
4 changes: 1 addition & 3 deletions app/View/Components/InputError.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

class InputError extends Component
{
public function __construct(public string $message)
{
}
public function __construct(public string $message) {}

public function render(): View
{
Expand Down
4 changes: 1 addition & 3 deletions app/View/Components/LocalTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

class LocalTime extends Component
{
public function __construct(public Carbon $date, public string $format = 'YYYY-MM-DD HH:mm (z)')
{
}
public function __construct(public Carbon $date, public string $format = 'YYYY-MM-DD HH:mm (z)') {}

public function render()
{
Expand Down
3 changes: 1 addition & 2 deletions app/View/Components/MainLayout.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ class MainLayout extends Component
public function __construct(
public string $title = 'Larastreamers',
public string $description = 'Larastreamers shows you who is live-coding next in the Laravel world. Never miss a live stream again!',
) {
}
) {}

public function render(): View
{
Expand Down
4 changes: 1 addition & 3 deletions app/View/Components/NavLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ class NavLink extends Component
{
public bool $isCurrentRoute = false;

public function __construct(public string $link, public string $name, public string $routeName)
{
}
public function __construct(public string $link, public string $name, public string $routeName) {}

public function render(): View
{
Expand Down
4 changes: 1 addition & 3 deletions app/View/Components/NavMobileLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ class NavMobileLink extends Component
{
public bool $isCurrentRoute = false;

public function __construct(public string $link, public string $name, public string $routeName)
{
}
public function __construct(public string $link, public string $name, public string $routeName) {}

public function render(): View
{
Expand Down
4 changes: 1 addition & 3 deletions app/View/Components/StreamButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

class StreamButton extends Component
{
public function __construct(public string $link, public string $name, public string $ariaLabel)
{
}
public function __construct(public string $link, public string $name, public string $ariaLabel) {}

public function render(): View
{
Expand Down

0 comments on commit a7daf4d

Please sign in to comment.