Skip to content

Commit

Permalink
Merge branch 'refactor/laravel-11' of github.com:arkecosystem/laravel…
Browse files Browse the repository at this point in the history
…-foundation into refactor/laravel-11
  • Loading branch information
alexbarnsley committed Mar 25, 2024
2 parents 3e15008 + 07d1a52 commit 17ec339
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/newsletter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
'driver' => env('NEWSLETTER_DRIVER', null),

/**
/*
* These arguments will be given to the driver.
*/
'driver_arguments' => [
Expand Down
2 changes: 1 addition & 1 deletion icons.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/CommonMark/Extensions/Image/TwitterRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private static function getEmbed(string $url, bool $dark = false): ?string
}

return Cache::rememberForever($key, function () use ($url, $dark) {
$html = null;
$html = null;
$properties = [
'url' => $url,
'hide_thread' => 1,
Expand Down
2 changes: 1 addition & 1 deletion src/Fortify/Actions/SubscribeToNewsletter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static function execute(?string $email, string $list): bool
{
Validator::make([
'email' => $email,
'list' => $list,
'list' => $list,
], [
'email' => ['required', 'email'],
'list' => ['required', 'string', Rule::in(array_keys(config('newsletter.lists')))],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Illuminate\Support\Facades\Config;
use Livewire\Livewire;
use Spatie\Newsletter\Facades\Newsletter;

use function Tests\createUserModel;

it('can render form', function () {
Expand Down

0 comments on commit 17ec339

Please sign in to comment.