Skip to content

Commit

Permalink
Add default value.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Jul 26, 2016
1 parent 7c18174 commit b32078a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Linter.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Linter
* @param array $excludes
* @param array $extensions
*/
public function __construct($path, $excludes, $extensions)
public function __construct($path, $excludes = [], $extensions = ['php'])
{
$this->path = $path;
$this->excludes = $excludes;
Expand Down

0 comments on commit b32078a

Please sign in to comment.