Skip to content

Commit bc298b7

Browse files
committed
Update Lfm class constructor for PHP 8.3 to explicitly declare nullable parameters, resolving the deprecation warning for assigning nullable values.
1 parent 93c9970 commit bc298b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Lfm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Lfm
1717
protected $config;
1818
protected $request;
1919

20-
public function __construct(Config $config = null, Request $request = null)
20+
public function __construct(?Config $config = null, ?Request $request = null)
2121
{
2222
$this->config = $config;
2323
$this->request = $request;

0 commit comments

Comments
 (0)