Completed
Branch master (9bf30d)
by Phil™
01:38
created
src/API.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
     /**
17 17
      * Create a new GoodTill instance.
18 18
      *
19
-     * @return void
19
+     * @return RESTInterface
20 20
      */
21 21
     public function __construct($user, $url, $id = null)
22 22
     {
@@ -67,7 +67,6 @@  discard block
 block discarded – undo
67 67
     /**
68 68
      * Good Till API: Delete
69 69
      * 
70
-     * @param array $data
71 70
      * @return array
72 71
      */
73 72
     public function delete(): array {
Please login to merge, or discard this patch.
src/GoodTillSystem.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -351,7 +351,6 @@
 block discarded – undo
351 351
     /**
352 352
      * Good Till API: External Sale
353 353
      * 
354
-     * @param null|string $id
355 354
      * @return ExternalSale
356 355
      * 
357 356
      * @source https://apidoc.thegoodtill.com/#api-ExternalSale
Please login to merge, or discard this patch.
src/Models/Brand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      * Create a new Good Till Customer instance.
12 12
      *
13 13
      * @param array $user
14
-     * @return void
14
+     * @return \FLAIRUK\GoodTillSystem\RESTInterface
15 15
      * 
16 16
      * @source https://apidoc.thegoodtill.com/#api-Brand
17 17
      */
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      * Set Product Outlet ID
34 34
      * 
35 35
      * @param string $id
36
-     * @return object
36
+     * @return Brand
37 37
      */
38 38
     public function setID(string $id): object {
39 39
         $this->id = $id;
Please login to merge, or discard this patch.
src/Models/Customer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      * Create a new Good Till Customer instance.
19 19
      *
20 20
      * @param array $user
21
-     * @return void
21
+     * @return \FLAIRUK\GoodTillSystem\RESTInterface
22 22
      * 
23 23
      * @source https://apidoc.thegoodtill.com/#api-Outlet
24 24
      */
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * Set Product Outlet ID
45 45
      * 
46 46
      * @param string $id
47
-     * @return object
47
+     * @return Customer
48 48
      */
49 49
     public function setID(string $id): object {
50 50
         $this->id = $id;
Please login to merge, or discard this patch.
src/Models/ExternalSale.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * Create a new GoodTill instance.
20 20
      *
21
-     * @return void
21
+     * @return \FLAIRUK\GoodTillSystem\RESTInterface
22 22
      */
23 23
     public function __construct($user)
24 24
     {
Please login to merge, or discard this patch.
src/Models/Loyalty.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * Create a new GoodTill instance.
16 16
      *
17
-     * @return void
17
+     * @return \FLAIRUK\GoodTillSystem\RESTInterface
18 18
      */
19 19
     public function __construct($user)
20 20
     {
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * Set Product Outlet ID
30 30
      * 
31 31
      * @param string $id
32
-     * @return object
32
+     * @return Loyalty
33 33
      */
34 34
     public function setID(string $id): object {
35 35
         $this->id = $id;
Please login to merge, or discard this patch.
src/Models/Outlet.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      * Create a new Good Till Outlet instance.
12 12
      *
13 13
      * @param array $user
14
-     * @return void
14
+     * @return \FLAIRUK\GoodTillSystem\RESTInterface
15 15
      * 
16 16
      * @source https://apidoc.thegoodtill.com/#api-Outlet
17 17
      */
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      * Set Product Outlet ID
34 34
      * 
35 35
      * @param string $id
36
-     * @return object
36
+     * @return Outlet
37 37
      */
38 38
     public function setID(string $id): object {
39 39
         $this->id = $id;
Please login to merge, or discard this patch.
src/Models/Register.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * Create a new GoodTill instance.
16 16
      *
17
-     * @return void
17
+     * @return \FLAIRUK\GoodTillSystem\RESTInterface
18 18
      */
19 19
     public function __construct($user)
20 20
     {
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * Set Product Outlet ID
30 30
      * 
31 31
      * @param string $id
32
-     * @return object
32
+     * @return Register
33 33
      */
34 34
     public function setID(string $id): object {
35 35
         $this->id = $id;
Please login to merge, or discard this patch.
src/Models/Sale.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     /**
13 13
      * Create a new GoodTill instance.
14 14
      *
15
-     * @return void
15
+     * @return \FLAIRUK\GoodTillSystem\RESTInterface
16 16
      */
17 17
     public function __construct($user)
18 18
     {
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      * Product Set Outlet ID
31 31
      * 
32 32
      * @param $id
33
-     * @return object
33
+     * @return Sale
34 34
      */
35 35
     public function summary($name): object {
36 36
         $this->product_name = ['product_name' => $name];
Please login to merge, or discard this patch.