Skip to content

Commit

Permalink
Inline documentation @throws cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
drsdre committed Dec 20, 2017
1 parent 339d716 commit eb80203
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ public function init() {
*
* @return $this
* @throws Exception
* @throws \Exception
* @throws \yii\httpclient\Exception
*/
public function getData(
$entity_url,
Expand Down Expand Up @@ -190,8 +188,6 @@ public function getData(
*
* @return $this
* @throws Exception
* @throws \Exception
* @throws \yii\httpclient\Exception
*/
public function putData(
$entity_url,
Expand Down Expand Up @@ -222,8 +218,6 @@ public function putData(
*
* @return $this
* @throws Exception
* @throws \Exception
* @throws \yii\httpclient\Exception
*/
public function patchData(
$entity_url,
Expand Down Expand Up @@ -256,8 +250,6 @@ public function patchData(
*
* @return $this
* @throws Exception
* @throws \Exception
* @throws \yii\httpclient\Exception
*/
public function postData(
$entity_url,
Expand Down Expand Up @@ -287,8 +279,6 @@ public function postData(
*
* @return $this
* @throws Exception
* @throws \Exception
* @throws \yii\httpclient\Exception
*/
public function deleteData(
string $entity_url,
Expand Down Expand Up @@ -318,8 +308,6 @@ public function deleteData(
*
* @return $this
* @throws Exception
* @throws \Exception
* @throws \yii\httpclient\Exception
*/
public function uploadFile(
$entity_url,
Expand Down Expand Up @@ -349,7 +337,6 @@ public function uploadFile(
* Return content as array
*
* @return array
* @throws \Exception
*/
public function asArray() {
if ( isset( $this->response->content ) ) {
Expand All @@ -363,7 +350,6 @@ public function asArray() {
* Return content as object
*
* @return \stdClass
* @throws \Exception
*/
public function asObject() {
if ( isset( $this->response->content ) ) {
Expand Down Expand Up @@ -433,7 +419,6 @@ protected function createAuthenticatedRequest() {
* Parse API response
*
* @throws Exception on failure
* @throws \Exception
*/
protected function executeRequest() {

Expand Down

0 comments on commit eb80203

Please sign in to comment.