Completed
Push — master ( 23c86e...d6d1fa )
by Kirill
06:08 queued 47s
created
src/YmlCatalog.php 2 patches
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace pastuhov\ymlcatalog;
3 3
 
4
+use Yii;
5
+use pastuhov\FileStream\BaseFileStream;
4 6
 use pastuhov\ymlcatalog\models\BaseModel;
5 7
 use pastuhov\ymlcatalog\models\Category;
6 8
 use pastuhov\ymlcatalog\models\Currency;
9
+use pastuhov\ymlcatalog\models\DeliveryOption;
7 10
 use pastuhov\ymlcatalog\models\LocalDeliveryCost;
8 11
 use pastuhov\ymlcatalog\models\Shop;
9 12
 use pastuhov\ymlcatalog\models\SimpleOffer;
10
-use pastuhov\ymlcatalog\models\DeliveryOption;
11
-use Yii;
12
-use pastuhov\FileStream\BaseFileStream;
13 13
 use yii\base\Exception;
14 14
 
15 15
 /**
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,10 +69,11 @@
 block discarded – undo
69 69
      * @param string $currencyClass class name
70 70
      * @param string $categoryClass class name
71 71
      * @param string $localDeliveryCostClass class name
72
-     * @param array $offerClasses
72
+     * @param string[] $offerClasses
73 73
      * @param null|string $date
74 74
      * @param null|callable $onValidationError
75 75
      * @param null|string $customOfferClass
76
+     * @param string $deliveryOptionClass
76 77
      */
77 78
     public function __construct(
78 79
         BaseFileStream $handle,
Please login to merge, or discard this patch.