We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9612da commit 4093c97Copy full SHA for 4093c97
1 file changed
src/main/php/io/Blob.class.php
@@ -69,7 +69,7 @@ public function stream() {
69
}
70
71
/** Creates a new blob with the given encoding applied */
72
- public function encoded(string $encoding, callable $filter= null): self {
+ public function encoded(string $encoding, ?callable $filter= null): self {
73
$meta= $this->meta;
74
$meta['encoding']??= [];
75
$meta['encoding'][]= $encoding;
0 commit comments