Skip to content

Commit 68a5c73

Browse files
committed
esolve the deprecation warning in PHP 8.3
1 parent 6907ee8 commit 68a5c73

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "onamfc/laravel-devlogger",
3-
"version": "1.1.4",
3+
"version": "1.1.5",
44
"description": "A custom logging package for Laravel with database storage and automatic error catching",
55
"type": "library",
66
"keywords": ["laravel", "logging", "database", "error-handling"],

src/Models/DeveloperLog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function scopeQueue(Builder $query, string $queue): Builder
9191
/**
9292
* Mark log as closed
9393
*/
94-
public function markAsClosed(int $userId = null): bool
94+
public function markAsClosed(?int $userId = null): bool
9595
{
9696
return $this->update([
9797
'status' => 'closed',

0 commit comments

Comments
 (0)