@@ -16,6 +16,6 @@ |
||
16 | 16 | */ |
17 | 17 | public static function now() |
18 | 18 | { |
19 | - return new static(get_defined_functions()['user']); |
|
19 | + return new static(get_defined_functions()[ 'user' ]); |
|
20 | 20 | } |
21 | 21 | } |
@@ -19,7 +19,7 @@ |
||
19 | 19 | */ |
20 | 20 | public static function now() |
21 | 21 | { |
22 | - return new static(get_defined_constants(true)['user']); |
|
22 | + return new static(get_defined_constants(true)[ 'user' ]); |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | /** |
@@ -28,6 +28,6 @@ |
||
28 | 28 | public function __toString() |
29 | 29 | { |
30 | 30 | list($sec, $fine) = explode('.', $this->getValue()); |
31 | - return date('H:i:s', $sec) . ':' . preg_replace('/0\./', '.', $fine); |
|
31 | + return date('H:i:s', $sec).':'.preg_replace('/0\./', '.', $fine); |
|
32 | 32 | } |
33 | 33 | } |