Completed
Push — master ( c2e1e4...22c8ee )
by
unknown
04:32
created
src/FacebookAds/Logger/CurlLogger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
     }
153 153
     foreach ($params->export() as $name => $value) {
154 154
       if ($is_file && $params->offsetGet($name) instanceof FileParameter) {
155
-        $value = "@" . $this->normalizeFileParam($params->offsetGet($name));
155
+        $value = "@".$this->normalizeFileParam($params->offsetGet($name));
156 156
       } else {
157 157
         $value = addcslashes(
158 158
           strpos($value, "\n") !== false
Please login to merge, or discard this patch.
src/FacebookAds/Object/AbstractCrudObject.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,12 +70,12 @@  discard block
 block discarded – undo
70 70
       }
71 71
       throw new \InvalidArgumentException(
72 72
         'Object ID must be an integer or integer string but was passed "'
73
-        .(string)$id.'" ('.gettype($id).').'.(string)$extra_message);
73
+        .(string) $id.'" ('.gettype($id).').'.(string) $extra_message);
74 74
     }
75 75
     $this->data[static::FIELD_ID] = $id;
76 76
 
77 77
     if (!is_null($parent_id)) {
78
-      $warning_message = "\$parent_id as a parameter of constructor is being " .
78
+      $warning_message = "\$parent_id as a parameter of constructor is being ".
79 79
         "deprecated, please try not to use this in new code.\n";
80 80
       error_log($warning_message);
81 81
     }
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
       array_merge($this->exportData(), $params));
236 236
     $this->clearHistory();
237 237
     $data = $response->getContent();
238
-    if (!isset($params['execution_options'])){
238
+    if (!isset($params['execution_options'])) {
239 239
       $id = is_string($data) ? $data : $data[static::FIELD_ID];
240 240
     /** @var AbstractCrudObject $this */
241 241
       if ($this instanceof CanRedownloadInterface
Please login to merge, or discard this patch.