@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | * Create a new Good Till Product instance. |
| 21 | 21 | * |
| 22 | 22 | * @param array $user |
| 23 | - * @return void |
|
| 23 | + * @return \FLAIRUK\GoodTillSystem\RESTInterface |
|
| 24 | 24 | */ |
| 25 | 25 | public function __construct(array $user) { |
| 26 | 26 | parent::__construct($user, $this->url); |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | * Product Set Outlet ID |
| 36 | 36 | * |
| 37 | 37 | * @param $id |
| 38 | - * @return object |
|
| 38 | + * @return Staff |
|
| 39 | 39 | */ |
| 40 | 40 | public function setID($id): object { |
| 41 | 41 | $this->id = $id; |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | * Product Set Outlet ID |
| 47 | 47 | * |
| 48 | 48 | * @param $id |
| 49 | - * @return object |
|
| 49 | + * @return Staff |
|
| 50 | 50 | */ |
| 51 | 51 | public function setOutlet($id): object { |
| 52 | 52 | $this->outlet_id = ['outlet_id' => $id]; |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | * Product Set Outlet ID |
| 58 | 58 | * |
| 59 | 59 | * @param $id |
| 60 | - * @return object |
|
| 60 | + * @return Staff |
|
| 61 | 61 | */ |
| 62 | 62 | public function setName($name): object { |
| 63 | 63 | $this->product_name = ['product_name' => $name]; |