File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 12
12
fail-fast : true
13
13
matrix :
14
14
php : [8.4, 8.3, 8.2]
15
- laravel : [' 10.*', ' 11.*', ' 12.*' ]
15
+ laravel : [" 10.*", " 11.*", " 12.*" ]
16
16
dependency-version : [prefer-lowest, prefer-stable]
17
17
include :
18
18
- laravel : 10.*
@@ -26,10 +26,10 @@ jobs:
26
26
27
27
steps :
28
28
- name : Checkout code
29
- uses : actions/checkout@v2
29
+ uses : actions/checkout@v4
30
30
31
31
- name : Cache dependencies
32
- uses : actions/cache@v2
32
+ uses : actions/cache@v4
33
33
with :
34
34
path : ~/.composer/cache/files
35
35
key : dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ trait MustVerifyNewEmail
14
14
* to the new email address.
15
15
*
16
16
* @param string $email
17
- * @param callable $withMailable
17
+ * @param callable|null $withMailable
18
18
* @return \Illuminate\Database\Eloquent\Model|null
19
19
*/
20
- public function newEmail (string $ email , callable $ withMailable = null ): ?Model
20
+ public function newEmail (string $ email , ? callable $ withMailable = null ): ?Model
21
21
{
22
22
if ($ this ->getEmailForVerification () === $ email && $ this ->hasVerifiedEmail ()) {
23
23
return null ;
@@ -81,10 +81,10 @@ public function clearPendingEmail()
81
81
* Sends the VerifyNewEmail Mailable to the new email address.
82
82
*
83
83
* @param \Illuminate\Database\Eloquent\Model $pendingUserEmail
84
- * @param callable $withMailable
84
+ * @param callable|null $withMailable
85
85
* @return mixed
86
86
*/
87
- public function sendPendingEmailVerificationMail (Model $ pendingUserEmail , callable $ withMailable = null )
87
+ public function sendPendingEmailVerificationMail (Model $ pendingUserEmail , ? callable $ withMailable = null )
88
88
{
89
89
$ mailableClass = config ('verify-new-email.mailable_for_first_verification ' );
90
90
You can’t perform that action at this time.
0 commit comments