@@ -462,7 +462,7 @@ |
||
462 | 462 | |
463 | 463 | /** |
464 | 464 | * @param mixed $offset |
465 | - * @return mixed |
|
465 | + * @return AbstractObject|null |
|
466 | 466 | */ |
467 | 467 | public function offsetGet($offset) { |
468 | 468 | return isset($this->objects[$offset]) ? $this->objects[$offset] : null; |
@@ -195,7 +195,7 @@ |
||
195 | 195 | |
196 | 196 | /** |
197 | 197 | * @param array $array |
198 | - * @param mixed $key |
|
198 | + * @param string $key |
|
199 | 199 | * @return mixed |
200 | 200 | */ |
201 | 201 | protected function removeArrayKey(array &$array, $key) { |
@@ -78,7 +78,7 @@ |
||
78 | 78 | /** |
79 | 79 | * @param array $fields |
80 | 80 | * @param array $params |
81 | - * @return Cursor |
|
81 | + * @return \FacebookAds\Cursor |
|
82 | 82 | */ |
83 | 83 | public function getVideoThumbnails( |
84 | 84 | array $fields = array(), array $params = array()) { |
@@ -26,8 +26,6 @@ |
||
26 | 26 | |
27 | 27 | use FacebookAds\Http\RequestInterface; |
28 | 28 | use FacebookAds\Object\Fields\AdVideoFields; |
29 | -use FacebookAds\Object\Traits\CannotDelete; |
|
30 | -use FacebookAds\Object\Traits\CannotUpdate; |
|
31 | 29 | use FacebookAds\Object\Traits\FieldValidation; |
32 | 30 | |
33 | 31 | class AdVideo extends AbstractCrudObject { |
@@ -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 | } |