Completed
Push — master ( 22ee83...d51193 )
by
unknown
03:10
created
src/FacebookAds/Object/AbstractCrudObject.php 2 patches
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/FacebookAds/Object/AdImage.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.