Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwedgbury authored and StyleCIBot committed May 11, 2020
1 parent 6ada6a3 commit 46860e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Requests/Extending/SubAll.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
1 change: 1 addition & 0 deletions src/Requests/Extending/SubCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
1 change: 1 addition & 0 deletions src/Requests/Extending/SubGet.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
1 change: 1 addition & 0 deletions src/Requests/Extending/SubUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 46860e4

Please sign in to comment.