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 255453b commit 345a092Copy full SHA for 345a092
src/Classes/ExportLocalizations.php
@@ -44,7 +44,7 @@ class ExportLocalizations implements \JsonSerializable
44
* @param string $phpRegex
45
* @param string $jsonRegex
46
*/
47
- public function __construct($phpRegex, $jsonRegex)
+ public function __construct($phpRegex = '/^.+\.php$/i', $jsonRegex = '/^.+\.json$/i')
48
{
49
$this->phpRegex = $phpRegex;
50
$this->jsonRegex = $jsonRegex;
0 commit comments