From: Michael Wallner Date: Thu, 7 Mar 2019 06:49:50 +0000 (+0100) Subject: no type decls, yet X-Git-Url: https://git.m6w6.name/?p=mdref%2Fmdref;a=commitdiff_plain;h=30ba41f956001432d6f07a23794d8e34248b3f7c no type decls, yet --- diff --git a/mdref/File.php b/mdref/File.php index 33cfa6f..48d53c4 100644 --- a/mdref/File.php +++ b/mdref/File.php @@ -115,7 +115,7 @@ class File { return 0 === fseek($this->fd, $offset, SEEK_SET); } - private function isHeading(string $line, string $title = null) { + private function isHeading($line, $title = null) { if ("## " !== substr($line, 0, 3)) { return false; }