@@ -54,8 +54,7 @@ |
||
| 54 | 54 | * @class Watch |
| 55 | 55 | * @package Platine\Framework\Helper\Timer |
| 56 | 56 | */ |
| 57 | -class Watch |
|
| 58 | -{ |
|
| 57 | +class Watch { |
|
| 59 | 58 | /** |
| 60 | 59 | * The default name to use if none is provided |
| 61 | 60 | */ |
@@ -54,8 +54,7 @@ discard block |
||
| 54 | 54 | * @class Timer |
| 55 | 55 | * @package Platine\Framework\Helper\Timer |
| 56 | 56 | */ |
| 57 | -class Timer |
|
| 58 | -{ |
|
| 57 | +class Timer { |
|
| 59 | 58 | public const NOT_STARTED = 0; |
| 60 | 59 | public const STARTED = 1; |
| 61 | 60 | public const PAUSED = 2; |
@@ -89,8 +88,7 @@ discard block |
||
| 89 | 88 | * Create new timer instance |
| 90 | 89 | * @param string $name |
| 91 | 90 | */ |
| 92 | - public function __construct(string $name) |
|
| 93 | - { |
|
| 91 | + public function __construct(string $name) { |
|
| 94 | 92 | $this->name = $name; |
| 95 | 93 | } |
| 96 | 94 | |