Skip to content

Commit 026a492

Browse files
authored
Merge pull request #66 from joostdebruijn/php84-compat
refactor: explicit null types for php 8.4
2 parents 650b148 + 2616394 commit 026a492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LogToDB.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function __construct($loggingConfig = [])
8686
*
8787
* @return DBLog|DBLogMongoDB
8888
*/
89-
public static function model(string $channel = null, string $connection = 'default', string $collection = null)
89+
public static function model(?string $channel = null, string $connection = 'default', ?string $collection = null)
9090
{
9191
$conn = null;
9292
$coll = null;

0 commit comments

Comments
 (0)