We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 650b148 + 2616394 commit 026a492Copy full SHA for 026a492
src/LogToDB.php
@@ -86,7 +86,7 @@ function __construct($loggingConfig = [])
86
*
87
* @return DBLog|DBLogMongoDB
88
*/
89
- public static function model(string $channel = null, string $connection = 'default', string $collection = null)
+ public static function model(?string $channel = null, string $connection = 'default', ?string $collection = null)
90
{
91
$conn = null;
92
$coll = null;
0 commit comments