Completed
Pull Request — master (#317)
by
unknown
04:05
created
src/FacebookAds/Object/TargetingSearch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
    */
42 42
   public static function search(
43 43
     $type,
44
-    $class=null,
45
-    $query=null,
44
+    $class = null,
45
+    $query = null,
46 46
     array $params = array(),
47 47
     Api $api = null) {
48 48
 
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/AppRoles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
  */
32 32
 class AppRoles extends AbstractEnum {
33 33
 
34
-  const ADMINISTRATOR  = 'ADMINISTRATOR';
34
+  const ADMINISTRATOR = 'ADMINISTRATOR';
35 35
   const DEVELOPER = 'DEVELOPER';
36 36
   const TESTER = 'TESTER';
37 37
   const INSIGHTS_USER = 'INSIGHTS_USER';
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/FeedEncoding.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
  */
32 32
 class FeedEncoding extends AbstractEnum {
33 33
 
34
-  const AUTODETECT  = 'AUTODETECT';
34
+  const AUTODETECT = 'AUTODETECT';
35 35
   const ASCII = 'ASCII';
36 36
   const UTF_8 = 'UTF_8';
37 37
   const UTF_16 = 'UTF_16';
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/PageRoles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
  */
32 32
 class PageRoles extends AbstractEnum {
33 33
 
34
-  const ADVERTISER  = 'ADVERTISER';
34
+  const ADVERTISER = 'ADVERTISER';
35 35
   const CONTENT_CREATOR = 'CONTENT_CREATOR';
36 36
   const MANAGER = 'MANAGER';
37 37
   const MODERATOR = 'MODERATOR';
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/TermsOfService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
  */
32 32
 class TermsOfService extends AbstractEnum {
33 33
 
34
-  const CUSTOM_AUDIENCE  = 'custom_audience';
34
+  const CUSTOM_AUDIENCE = 'custom_audience';
35 35
   const WEBSITE_CUSTOM_AUDIENCE = 'website_custom_audience';
36 36
   const MOBILE_APP_CUSTOM_AUDIENCE = 'mobile_app_custom_audience';
37 37
 }
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/UserPermissionRoles.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,6 +31,6 @@
 block discarded – undo
31 31
  */
32 32
 class UserPermissionRoles extends AbstractEnum {
33 33
 
34
-  const ADMIN  = 'ADMIN';
35
-  const EMPLOYEE  = 'EMPLOYEE';
34
+  const ADMIN = 'ADMIN';
35
+  const EMPLOYEE = 'EMPLOYEE';
36 36
 }
Please login to merge, or discard this patch.
src/FacebookAds/Object/AbstractCrudObject.php 1 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.