| @@ -237,7 +237,7 @@ | ||
| 237 | 237 | |
| 238 | 238 | $this->clearHistory(); | 
| 239 | 239 | $data = $response->getContent(); | 
| 240 | -    if (!isset($params['execution_options'])){ | |
| 240 | +    if (!isset($params['execution_options'])) { | |
| 241 | 241 | $id = is_string($data) ? $data : $data[static::FIELD_ID]; | 
| 242 | 242 | |
| 243 | 243 | /** @var AbstractCrudObject $this */ | 
| @@ -237,7 +237,7 @@ | ||
| 237 | 237 | |
| 238 | 238 | $this->clearHistory(); | 
| 239 | 239 | $data = $response->getContent(); | 
| 240 | -    if (!isset($params['execution_options'])){ | |
| 240 | +    if (!isset($params['execution_options'])) { | |
| 241 | 241 | $id = is_string($data) ? $data : $data[static::FIELD_ID]; | 
| 242 | 242 | |
| 243 | 243 | /** @var AbstractCrudObject $this */ | 
| @@ -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 | } | 
| @@ -145,8 +145,7 @@ | ||
| 145 | 145 | $normalizers = new \ArrayObject(array( | 
| 146 | 146 | new HashNormalizer() | 
| 147 | 147 | )); | 
| 148 | - } | |
| 149 | -      else { | |
| 148 | +      } else { | |
| 150 | 149 | $normalizers = clone $this->getNormalizers(); | 
| 151 | 150 | $normalizers->append(new HashNormalizer()); | 
| 152 | 151 | } |