Skip to content

Commit ca81c3c

Browse files
committed
PHP 8.4 compatibility
1 parent a8cc66c commit ca81c3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exception.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
*/
5252
class Exception extends \Exception
5353
{
54-
public function __construct($message = "", $code = 0, \Throwable $previous = null)
54+
public function __construct($message = "", $code = 0, ?\Throwable $previous = null)
5555
{
5656
if ($message == "") {
5757
$message = "libvips error: " . FFI::vips()->vips_error_buffer();

0 commit comments

Comments
 (0)