@@ -45,8 +45,7 @@ |
||
45 | 45 | * Extract the filename from the Headers, and store it in filename property |
46 | 46 | */ |
47 | 47 | protected function extractFileName(){ |
48 | - foreach (explode("\r\n", $this->headers) as $header) |
|
49 | - { |
|
48 | + foreach (explode("\r\n", $this->headers) as $header){ |
|
50 | 49 | if (strpos($header, 'filename')!==FALSE){ |
51 | 50 | $this->fileName = substr($header, (strpos($header, "\"")+1), -1); |
52 | 51 | } |
@@ -9,12 +9,12 @@ |
||
9 | 9 | |
10 | 10 | abstract class AbstractDeleteEntryPoint extends AbstractEntryPoint { |
11 | 11 | |
12 | - public function __construct($url, array $options = array()) { |
|
12 | + public function __construct($url, array $options = array()){ |
|
13 | 13 | $this->setRequest(new DELETE()); |
14 | 14 | parent::__construct($url, $options); |
15 | 15 | } |
16 | 16 | |
17 | - public function execute($data = NULL) { |
|
17 | + public function execute($data = NULL){ |
|
18 | 18 | parent::execute($data); |
19 | 19 | $this->setResponse(new JSON($this->Request->getResponse(),$this->Request->getCurlObject())); |
20 | 20 | return $this; |