summaryrefslogtreecommitdiff
path: root/ext/spl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl')
-rwxr-xr-xext/spl/spl_directory.stub.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/spl/spl_directory.stub.php b/ext/spl/spl_directory.stub.php
index 0e942a2e12..92c9f8813a 100755
--- a/ext/spl/spl_directory.stub.php
+++ b/ext/spl/spl_directory.stub.php
@@ -82,7 +82,7 @@ class SplFileInfo
* @param resource|null $context
* @return SplFileObject
*/
- public function openFile(string $open_mode = 'r', bool $use_include_path = false, $context = null) {}
+ public function openFile(string $open_mode = "r", bool $use_include_path = false, $context = null) {}
/** @return void */
public function setFileClass(string $class_name = SplFileObject::class) {}
@@ -188,7 +188,7 @@ class GlobIterator extends FilesystemIterator implements Countable
class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIterator
{
/** @param resource|null $context */
- public function __construct(string $file_name, string $open_mode = 'r', bool $use_include_path = false, $context = null) {}
+ public function __construct(string $file_name, string $open_mode = "r", bool $use_include_path = false, $context = null) {}
/** @return void */
public function rewind() {}
@@ -206,10 +206,10 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt
public function fread(int $length) {}
/** @return array|false */
- public function fgetcsv(string $delimiter = ",", string $enclosure = '"', string $escape = "\\") {}
+ public function fgetcsv(string $delimiter = ",", string $enclosure = "\"", string $escape = "\\") {}
/** @return int|false */
- public function fputcsv(array $fields, string $delimiter = ',', string $enclosure = '"', string $escape = "\\") {}
+ public function fputcsv(array $fields, string $delimiter = ",", string $enclosure = "\"", string $escape = "\\") {}
/** @return bool|null */
public function setCsvControl(string $delimiter = ",", string $enclosure = "\"", string $escape = "\\") {}