Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
vekien committed May 4, 2019
2 parents 566e6d6 + d72eda6 commit ad82f1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/XIVAPI/Api/FreeCompany.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function search(string $name, string $server, int $page = 1)
]);
}

public function get(int $id, array $data = [])
public function get($id, array $data = [])
{
$options = [
RequestOptions::QUERY
Expand All @@ -31,12 +31,12 @@ public function get(int $id, array $data = [])
return Guzzle::get("/freecompany/{$id}", $options);
}

public function update(int $id)
public function update($id)
{
return Guzzle::get("/freecompany/{$id}/update");
}

public function delete(int $id)
public function delete($id)
{
return Guzzle::get("/freecompany/{$id}/delete");
}
Expand Down
6 changes: 3 additions & 3 deletions src/XIVAPI/Api/Linkshell.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function search(string $name, string $server, int $page = 1)
]);
}

public function get(int $id, array $data = [])
public function get($id, array $data = [])
{
$options = [
RequestOptions::QUERY
Expand All @@ -31,12 +31,12 @@ public function get(int $id, array $data = [])
return Guzzle::get("/linkshell/{$id}", $options);
}

public function update(int $id)
public function update($id)
{
return Guzzle::get("/linkshell/{$id}/update");
}

public function delete(int $id)
public function delete($id)
{
return Guzzle::get("/linkshell/{$id}/delete");
}
Expand Down

0 comments on commit ad82f1a

Please sign in to comment.