Skip to content

Commit 4093c97

Browse files
committed
Fix "Implicitly marking parameter $filter as nullable is deprecated"
1 parent e9612da commit 4093c97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/php/io/Blob.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function stream() {
6969
}
7070

7171
/** Creates a new blob with the given encoding applied */
72-
public function encoded(string $encoding, callable $filter= null): self {
72+
public function encoded(string $encoding, ?callable $filter= null): self {
7373
$meta= $this->meta;
7474
$meta['encoding']??= [];
7575
$meta['encoding'][]= $encoding;

0 commit comments

Comments
 (0)