summaryrefslogtreecommitdiff
path: root/ext/fileinfo/fileinfo.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fileinfo/fileinfo.stub.php')
-rw-r--r--ext/fileinfo/fileinfo.stub.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fileinfo/fileinfo.stub.php b/ext/fileinfo/fileinfo.stub.php
index 9355a96a2b..4ed4e445f1 100644
--- a/ext/fileinfo/fileinfo.stub.php
+++ b/ext/fileinfo/fileinfo.stub.php
@@ -5,7 +5,7 @@
class finfo
{
/** @alias finfo_open */
- public function __construct(int $flags = FILEINFO_NONE, string $magic_database = "") {}
+ public function __construct(int $flags = FILEINFO_NONE, ?string $magic_database = null) {}
/**
* @param resource|null $context
@@ -29,7 +29,7 @@ class finfo
}
/** @return resource|false */
-function finfo_open(int $flags = FILEINFO_NONE, string $magic_database = "") {}
+function finfo_open(int $flags = FILEINFO_NONE, ?string $magic_database = null) {}
/**
* @param resource $finfo