| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 12 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php namespace Tuiter;  | 
            ||
| 50 | public function destroy($tweetId)  | 
            ||
| 51 |     { | 
            ||
| 52 | $tweetId = $this->extractTweetId($tweetId);  | 
            ||
| 53 | |||
| 54 |         try { | 
            ||
| 55 |             $response = $this->client->post("statuses/destroy/{$tweetId}.json"); | 
            ||
| 56 |         } catch (RequestException $e) { | 
            ||
| 57 | $response = $e->getResponse();  | 
            ||
| 58 | }  | 
            ||
| 59 | |||
| 60 | return $response->json();  | 
            ||
| 61 | }  | 
            ||
| 62 | |||
| 73 |