@@ -208,7 +208,7 @@ |
||
| 208 | 208 | array_merge($this->exportData(), $params)); |
| 209 | 209 | $this->clearHistory(); |
| 210 | 210 | $data = $response->getContent(); |
| 211 | - if (!isset($params['execution_options'])){ |
|
| 211 | + if (!isset($params['execution_options'])) { |
|
| 212 | 212 | $id = is_string($data) ? $data : $data[static::FIELD_ID]; |
| 213 | 213 | /** @var AbstractCrudObject $this */ |
| 214 | 214 | if ($this instanceof CanRedownloadInterface |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | $this->data[static::FIELD_ID] = $id; |
| 60 | 60 | |
| 61 | 61 | if (!is_null($parent_id)) { |
| 62 | - $warning_message = "\$parent_id as a parameter of constructor is being " . |
|
| 62 | + $warning_message = "\$parent_id as a parameter of constructor is being ". |
|
| 63 | 63 | "deprecated, please try not to use this in new code.\n"; |
| 64 | 64 | error_log($warning_message); |
| 65 | 65 | } |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | array_merge($this->exportData(), $params)); |
| 220 | 220 | $this->clearHistory(); |
| 221 | 221 | $data = $response->getContent(); |
| 222 | - if (!isset($params['execution_options'])){ |
|
| 222 | + if (!isset($params['execution_options'])) { |
|
| 223 | 223 | $id = is_string($data) ? $data : $data[static::FIELD_ID]; |
| 224 | 224 | /** @var AbstractCrudObject $this */ |
| 225 | 225 | if ($this instanceof CanRedownloadInterface |
@@ -25,7 +25,6 @@ |
||
| 25 | 25 | namespace FacebookAds\Object; |
| 26 | 26 | |
| 27 | 27 | use FacebookAds\ApiRequest; |
| 28 | -use FacebookAds\Cursor; |
|
| 29 | 28 | use FacebookAds\Http\RequestInterface; |
| 30 | 29 | use FacebookAds\TypeChecker; |
| 31 | 30 | use FacebookAds\Object\Fields\AdImageFields; |