@@ -23,13 +23,13 @@ |
||
23 | 23 | private function startWatch(): float |
24 | 24 | { |
25 | 25 | list($usec, $sec) = explode(' ', microtime()); |
26 | - return (float) $sec + (float) $usec; |
|
26 | + return (float)$sec + (float)$usec; |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | private function stopWatch(float $script_start): float |
30 | 30 | { |
31 | 31 | list($usec, $sec) = explode(' ', microtime()); |
32 | - $script_end = (float) $sec + (float) $usec; |
|
32 | + $script_end = (float)$sec + (float)$usec; |
|
33 | 33 | |
34 | 34 | return round($script_end - $script_start, 5); |
35 | 35 | } |
@@ -91,7 +91,7 @@ |
||
91 | 91 | { |
92 | 92 | $db = new DbKeyValue(); |
93 | 93 | foreach ($collections as $key => $value) { |
94 | - $db->add((string) $key, (string) $value); |
|
94 | + $db->add((string)$key, (string)$value); |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | return $db; |