← All changes
|
includes/sdk/google/ramsey/uuid/src/Provider/Time/SystemTimeProvider.php
+4
-4
1.1.1
→
1.4.2
View file →
| @@ -9,12 +9,12 @@ | ||
| 9 | 9 | * @copyright Copyright (c) Ben Ramsey <[email protected]> |
| 10 | 10 | * @license http://opensource.org/licenses/MIT MIT |
| 11 | 11 | */ |
| 12 | 12 | declare (strict_types=1); |
| 13 | -namespace Dudlewebs\WPMCS\Ramsey\Uuid\Provider\Time; | |
| 13 | +namespace Dudlewebs\WPMCS\GCP\Ramsey\Uuid\Provider\Time; | |
| 14 | 14 | |
| 15 | -use Dudlewebs\WPMCS\Ramsey\Uuid\Provider\TimeProviderInterface; | |
| 16 | -use Dudlewebs\WPMCS\Ramsey\Uuid\Type\Time; | |
| 15 | +use Dudlewebs\WPMCS\GCP\Ramsey\Uuid\Provider\TimeProviderInterface; | |
| 16 | +use Dudlewebs\WPMCS\GCP\Ramsey\Uuid\Type\Time; | |
| 17 | 17 | use function gettimeofday; |
| 18 | 18 | /** |
| 19 | 19 | * SystemTimeProvider retrieves the current time using built-in PHP functions |
| 20 | 20 | */ |
| @@ -19,9 +19,9 @@ | ||
| 19 | 19 | * SystemTimeProvider retrieves the current time using built-in PHP functions |
| 20 | 20 | */ |
| 21 | 21 | class SystemTimeProvider implements TimeProviderInterface |
| 22 | 22 | { |
| 23 | - public function getTime(): Time | |
| 23 | + public function getTime() : Time | |
| 24 | 24 | { |
| 25 | 25 | $time = gettimeofday(); |
| 26 | 26 | return new Time($time['sec'], $time['usec']); |
| 27 | 27 | } |