@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Kir\Services\Cmd\Dispatcher\Builder; |
3 | 3 | |
4 | -use Kir\Services\Cmd\Dispatcher\AttributeRepositories\MySQLAttributeRepository; |
|
5 | -use Kir\Services\Cmd\Dispatcher\Dispatcher; |
|
6 | -use Kir\Services\Cmd\Dispatcher\Dispatchers\DefaultDispatcher; |
|
4 | +use Kir\Services\Cmd\Dispatcher\AttributeRepositories\MySQLAttributeRepository; |
|
5 | +use Kir\Services\Cmd\Dispatcher\Dispatcher; |
|
6 | +use Kir\Services\Cmd\Dispatcher\Dispatchers\DefaultDispatcher; |
|
7 | 7 | use PDO; |
8 | 8 | |
9 | 9 | class MySQLBuilder { |
@@ -35,8 +35,8 @@ |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param $interval |
38 | - * @param DateTimeInterface|null $now |
|
39 | - * @return Generator|DateTimeImmutable |
|
38 | + * @param DateTimeInterface $now |
|
39 | + * @return Generator |
|
40 | 40 | */ |
41 | 41 | private static function parse($interval, DateTimeInterface $now) { |
42 | 42 | if(is_array($interval)) { |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Kir\Services\Cmd\Dispatcher; |
3 | 3 | |
4 | -use Kir\Services\Cmd\Dispatcher\AttributeRepositories\MySQLAttributeRepository; |
|
5 | -use Kir\Services\Cmd\Dispatcher\AttributeRepositories\SqliteAttributeRepository; |
|
6 | -use Kir\Services\Cmd\Dispatcher\Builder\MySQLBuilder; |
|
7 | -use Kir\Services\Cmd\Dispatcher\Dispatchers\DefaultDispatcher; |
|
4 | +use Kir\Services\Cmd\Dispatcher\AttributeRepositories\MySQLAttributeRepository; |
|
5 | +use Kir\Services\Cmd\Dispatcher\AttributeRepositories\SqliteAttributeRepository; |
|
6 | +use Kir\Services\Cmd\Dispatcher\Builder\MySQLBuilder; |
|
7 | +use Kir\Services\Cmd\Dispatcher\Dispatchers\DefaultDispatcher; |
|
8 | 8 | use PDO; |
9 | 9 | |
10 | 10 | class ServiceDispatcherBuilder { |