We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12896ac commit 37b3d30Copy full SHA for 37b3d30
src/CommandLineParser.php
@@ -16,7 +16,7 @@ public function __construct(mixed $parser = null)
16
17
$filename = __DIR__ . "/../docopt.txt";
18
if (file_exists($filename)) {
19
- $handler = fopen($filename, 'r') ?? NULL;
+ $handler = fopen($filename, 'r') ?? null;
20
$filesize = filesize($filename) ?? 0;
21
if (!is_null($handler)) {
22
$this->parserDescriptor = fread($handler, $filesize) ?? "";
0 commit comments