Skip to content

Commit

Permalink
type bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Nov 4, 2019
1 parent da4cd83 commit d20dd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JsFunctionsScanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function parser(string $version, array $options = ['comments' => true]):
return $this;
}

public function scan(string $code, string $filename = null): array
public function scan(string $code, string $filename): array
{
list($version, $options) = $this->parser;

Expand Down

0 comments on commit d20dd77

Please sign in to comment.