Completed
Branch master (7540bc)
by Taosikai
14:55
created
src/Client.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -239,6 +239,10 @@
 block discarded – undo
239 239
         $this->doRequest('DELETE', $resource);
240 240
     }
241 241
 
242
+    /**
243
+     * @param string $method
244
+     * @param string $resource
245
+     */
242 246
     protected function doRequest($method, $resource, $options = [])
243 247
     {
244 248
         $request = new Request($method, $this->buildUrl($resource));
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use Slince\Shopify\Exception\InvalidArgumentException;
20 20
 use GuzzleHttp\Exception\RequestException;
21 21
 use Slince\Shopify\Exception\ClientException;
22
-use Slince\Shopify\Common\Manager\ManagerInterface;
23 22
 
24 23
 /**
25 24
  * @method Manager\Article\ArticleManagerInterface getArticleManager
Please login to merge, or discard this patch.
src/Common/Model/Model.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 use Slince\Shopify\Hydrator\Hydrator;
9 9
 use Slince\Shopify\Hydrator\Type\DateTimeType;
10
-use Slince\Shopify\Hydrator\TypeCollection;
11 10
 
12 11
 abstract class Model implements ModelInterface
13 12
 {
Please login to merge, or discard this patch.
src/Manager/Article/Article.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     }
94 94
 
95 95
     /**
96
-     * @return string
96
+     * @return \DateTime
97 97
      */
98 98
     public function getCreatedAt()
99 99
     {
Please login to merge, or discard this patch.
src/Manager/CarrierService/CarrierServiceManagerInterface.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * Gets the carrier service by its id
27 27
      * @param int $id
28
-     * @return CarrierService
28
+     * @return \Slince\Shopify\Common\Model\ModelInterface
29 29
      */
30 30
     public function find($id);
31 31
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * Creates a carrier service
49 49
      * @param array $data
50
-     * @return CarrierService
50
+     * @return \Slince\Shopify\Common\Model\ModelInterface
51 51
      */
52 52
     public function create(array $data);
53 53
 }
54 54
\ No newline at end of file
Please login to merge, or discard this patch.
src/Manager/Collect/CollectManagerInterface.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * Gets the collect by its id
27 27
      * @param int $id
28
-     * @return Collect
28
+     * @return \Slince\Shopify\Common\Model\ModelInterface
29 29
      */
30 30
     public function find($id);
31 31
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * Creates a blog
48 48
      * @param array $data
49
-     * @return Collect
49
+     * @return \Slince\Shopify\Common\Model\ModelInterface
50 50
      */
51 51
     public function create(array $data);
52 52
 }
53 53
\ No newline at end of file
Please login to merge, or discard this patch.
src/Manager/Customer/Customer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Slince\Shopify\Common\Model\Model;
14 14
 use Slince\Shopify\Hydrator\Association\HasMany;
15 15
 use Slince\Shopify\Hydrator\Association\HasOne;
16
-use Slince\Shopify\Hydrator\Type\AssociationType;
17 16
 use Slince\Shopify\Manager\CustomerAddress\Address;
18 17
 
19 18
 class Customer extends Model
Please login to merge, or discard this patch.
src/Manager/Fulfillment/Fulfillment.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
  */
11 11
 namespace Slince\Shopify\Manager\Fulfillment;
12 12
 
13
-use Doctrine\Common\Inflector\Inflector;
14 13
 use Slince\Shopify\Common\Model\Model;
15 14
 use Slince\Shopify\Hydrator\Association\HasMany;
16 15
 use Slince\Shopify\Manager\Order\LineItem;
Please login to merge, or discard this patch.
src/Manager/Order/Order.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
  */
11 11
 namespace Slince\Shopify\Manager\Order;
12 12
 
13
-use Doctrine\Common\Inflector\Inflector;
14 13
 use Slince\Shopify\Common\Model\Model;
15 14
 use Slince\Shopify\Hydrator\Association\HasMany;
16 15
 use Slince\Shopify\Hydrator\Type\DateTimeType;
Please login to merge, or discard this patch.
src/Manager/Page/PageManagerInterface.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * Gets the page by its id
27 27
      * @param int $id
28
-     * @return Page
28
+     * @return \Slince\Shopify\Common\Model\ModelInterface
29 29
      */
30 30
     public function find($id);
31 31
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     /**
55 55
      * Creates a page
56 56
      * @param array $data
57
-     * @return Page
57
+     * @return \Slince\Shopify\Common\Model\ModelInterface
58 58
      */
59 59
     public function create(array $data);
60 60
 }
61 61
\ No newline at end of file
Please login to merge, or discard this patch.