@@ -16,7 +16,6 @@ |
||
16 | 16 | class DateTimeImmutableRepository extends BaseRepository |
17 | 17 | { |
18 | 18 | /** |
19 | - * @param array $row |
|
20 | 19 | * @return DateTimeImmutable |
21 | 20 | */ |
22 | 21 | public function create($data) |
@@ -24,6 +24,9 @@ |
||
24 | 24 | */ |
25 | 25 | protected $subprices = []; |
26 | 26 | |
27 | + /** |
|
28 | + * @param string $id |
|
29 | + */ |
|
27 | 30 | public function __construct( |
28 | 31 | $id, |
29 | 32 | TypeInterface $type, |
@@ -13,17 +13,11 @@ |
||
13 | 13 | use DateTimeImmutable; |
14 | 14 | use hiqdev\billing\hiapi\models\Plan; |
15 | 15 | use hiqdev\php\billing\customer\Customer; |
16 | -use hiqdev\php\billing\formula\FormulaInterface; |
|
17 | -use hiqdev\php\billing\price\PriceFactoryInterface; |
|
18 | 16 | use hiqdev\php\billing\target\Target; |
19 | 17 | use hiqdev\php\billing\type\Type; |
20 | 18 | use hiqdev\php\units\Quantity; |
21 | -use hiqdev\php\units\Unit; |
|
22 | 19 | use hiqdev\yii\DataMapper\hydrator\GeneratedHydrator; |
23 | -use Money\Currency; |
|
24 | 20 | use Money\Money; |
25 | -use yii\helpers\Json; |
|
26 | -use Zend\Hydrator\HydratorInterface; |
|
27 | 21 | |
28 | 22 | /** |
29 | 23 | * Bill Hydrator. |
@@ -12,8 +12,6 @@ |
||
12 | 12 | |
13 | 13 | use hiqdev\php\billing\action\ActionInterface; |
14 | 14 | use hiqdev\php\billing\action\ActionQuery; |
15 | -use hiqdev\yii\DataMapper\components\ConnectionInterface; |
|
16 | -use hiqdev\yii\DataMapper\components\EntityManagerInterface; |
|
17 | 15 | use hiqdev\yii\DataMapper\expressions\CallExpression; |
18 | 16 | use hiqdev\yii\DataMapper\expressions\HstoreExpression; |
19 | 17 | use hiqdev\yii\DataMapper\repositories\BaseRepository; |