Skip to content

Commit f4a68b9

Browse files
authored
fix php8.4 deprecated warning (#24)
1 parent f9f8fca commit f4a68b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IndexNow.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function submit(string|array $url): Response|false
6262
*
6363
* @throws Exception
6464
*/
65-
public function delaySubmission(string|array $url, int $delayInSeconds = null): PendingDispatch
65+
public function delaySubmission(string|array $url, ?int $delayInSeconds = null): PendingDispatch
6666
{
6767
$delayInSeconds ??= (int) config('index-now.delay');
6868

0 commit comments

Comments
 (0)