@@ -103,7 +103,7 @@ |
||
103 | 103 | } |
104 | 104 | if(!is_null($ressourcePath)){ |
105 | 105 | return '/accounts/'.$this->getAccountCode().$ressourceAdded; |
106 | - }else{ |
|
106 | + } else{ |
|
107 | 107 | return $ressourceName.'/'.$this->getAccountCode().$ressourceAdded; |
108 | 108 | } |
109 | 109 |
@@ -108,7 +108,7 @@ |
||
108 | 108 | throw new Exceptions\RessourceMandatoryFieldException(sprintf('The field %s is required',$field)); |
109 | 109 | } |
110 | 110 | } |
111 | - }else{ |
|
111 | + } else{ |
|
112 | 112 | throw new Exceptions\RessourceMandatoryFieldException(sprintf('The id field is required')); |
113 | 113 | } |
114 | 114 | $this->results = $this->certainApiService->put($ressourceName, $this->ressourceCalled, $ressourceId, $bodyData, $query, $assoc, $contentType); |
@@ -58,7 +58,7 @@ |
||
58 | 58 | |
59 | 59 | if($contentType === 'json'){ |
60 | 60 | $response['results'] = $this->jsonp_decode($bodyString, $assoc); |
61 | - }else{ |
|
61 | + } else{ |
|
62 | 62 | $response['results']=$bodyString; |
63 | 63 | } |
64 | 64 |