Skip to content

Commit 345a092

Browse files
authored
Add default values for constructor arguments
1 parent 255453b commit 345a092

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Classes/ExportLocalizations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class ExportLocalizations implements \JsonSerializable
4444
* @param string $phpRegex
4545
* @param string $jsonRegex
4646
*/
47-
public function __construct($phpRegex, $jsonRegex)
47+
public function __construct($phpRegex = '/^.+\.php$/i', $jsonRegex = '/^.+\.json$/i')
4848
{
4949
$this->phpRegex = $phpRegex;
5050
$this->jsonRegex = $jsonRegex;

0 commit comments

Comments
 (0)