@@ -50,8 +50,7 @@ |
||
| 50 | 50 | // Fill the model |
| 51 | 51 | if (is_array($modeldata)) { |
| 52 | 52 | $this->fill($modeldata); |
| 53 | - } |
|
| 54 | - else if ($modeldata instanceof \DirkGroenen\Pinterest\Transport\Response) { |
|
| 53 | + } else if ($modeldata instanceof \DirkGroenen\Pinterest\Transport\Response) { |
|
| 55 | 54 | $this->fill($modeldata->data); |
| 56 | 55 | } |
| 57 | 56 | } |
@@ -187,8 +187,7 @@ |
||
| 187 | 187 | |
| 188 | 188 | if (!class_exists("\CURLFile") && defined('CURLOPT_SAFE_UPLOAD')) { |
| 189 | 189 | $ch->setOption(CURLOPT_SAFE_UPLOAD, false); |
| 190 | - } |
|
| 191 | - elseif (class_exists("\CURLFile") && defined('CURLOPT_SAFE_UPLOAD')) { |
|
| 190 | + } elseif (class_exists("\CURLFile") && defined('CURLOPT_SAFE_UPLOAD')) { |
|
| 192 | 191 | $ch->setOption(CURLOPT_SAFE_UPLOAD, true); |
| 193 | 192 | } |
| 194 | 193 | |