@@ -11,7 +11,6 @@ |
||
| 11 | 11 | namespace DirkGroenen\Pinterest\Transport; |
| 12 | 12 | |
| 13 | 13 | use DirkGroenen\Pinterest\Utils\CurlBuilder; |
| 14 | -use DirkGroenen\Pinterest\Exceptions\PinterestException; |
|
| 15 | 14 | |
| 16 | 15 | class Response { |
| 17 | 16 | |
@@ -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 | } |