@@ -41,8 +41,8 @@ |
||
| 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 | |
@@ -31,7 +31,7 @@ |
||
| 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'; |
@@ -31,7 +31,7 @@ |
||
| 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'; |
@@ -31,7 +31,7 @@ |
||
| 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'; |
@@ -31,7 +31,7 @@ |
||
| 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 | } |
@@ -31,6 +31,6 @@ |
||
| 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 | } |
@@ -38,8 +38,8 @@ |
||
| 38 | 38 | const HASH_TYPE_SHA256 = 'sha256'; |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | - * @var \ArrayObject |
|
| 42 | - */ |
|
| 41 | + * @var \ArrayObject |
|
| 42 | + */ |
|
| 43 | 43 | protected $normalizers; |
| 44 | 44 | |
| 45 | 45 | /** |
@@ -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 |