diff --git a/src/Requests/Extending/SubAll.php b/src/Requests/Extending/SubAll.php index 64e18d8..f7d477d 100644 --- a/src/Requests/Extending/SubAll.php +++ b/src/Requests/Extending/SubAll.php @@ -14,6 +14,7 @@ public static function all($parent_id, $options = []) { $parent = new self::$extends; self::$endpoint = $parent::$endpoint."/$parent_id/".self::$endpoint; + return self::_all($options); } } diff --git a/src/Requests/Extending/SubCreate.php b/src/Requests/Extending/SubCreate.php index 4e8279d..7e017f6 100644 --- a/src/Requests/Extending/SubCreate.php +++ b/src/Requests/Extending/SubCreate.php @@ -14,6 +14,7 @@ public static function create($parent_id, $data) { $parent = new self::$extends; self::$endpoint = $parent::$endpoint."/$parent_id/".self::$endpoint; + return self::_create($data); } } diff --git a/src/Requests/Extending/SubGet.php b/src/Requests/Extending/SubGet.php index 9a1e6ed..f500e0c 100644 --- a/src/Requests/Extending/SubGet.php +++ b/src/Requests/Extending/SubGet.php @@ -14,6 +14,7 @@ public static function get($parent_id, $id) { $parent = new self::$extends; self::$endpoint = $parent::$endpoint."/$parent_id/".self::$endpoint; + return self::_get($id); } } diff --git a/src/Requests/Extending/SubUpdate.php b/src/Requests/Extending/SubUpdate.php index 51c6309..2a4554d 100644 --- a/src/Requests/Extending/SubUpdate.php +++ b/src/Requests/Extending/SubUpdate.php @@ -14,6 +14,7 @@ public static function update($parent_id, $id, $data) { $parent = new self::$extends; self::$endpoint = $parent::$endpoint."/$parent_id/".self::$endpoint; + return self::_update($id, $data); } }