@@ -38,8 +38,7 @@ |
||
| 38 | 38 | public static function start(string $key = 'default'): void { |
| 39 | 39 | if (isset(self::$timers[$key])) { |
| 40 | 40 | self::$timers[$key]->start(); |
| 41 | - } |
|
| 42 | - else { |
|
| 41 | + } else { |
|
| 43 | 42 | self::$timers[$key] = new Stopwatch(); |
| 44 | 43 | } |
| 45 | 44 | } |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Ayesh\PHP_Timer; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Ayesh\PHP_Timer; |
| 5 | 5 | |