Skip to content

Commit

Permalink
Added deafult mode
Browse files Browse the repository at this point in the history
  • Loading branch information
eldadfux committed Jun 18, 2020
1 parent c431583 commit dae7464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class App
* @param string $timezone
* @param bool $mode Current mode
*/
public function __construct($timezone, $mode)
public function __construct($timezone, $mode = self::MODE_TYPE_PRODUCTION)
{
date_default_timezone_set($timezone);

Expand Down

0 comments on commit dae7464

Please sign in to comment.