Completed
Push — master ( c23590...8ff253 )
by
unknown
02:59
created
src/FacebookAds/Api.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
   }
90 90
 
91 91
   /**
92
-   * @return Api|null
92
+   * @return Api
93 93
    */
94 94
   public static function instance() {
95 95
     return static::$instance;
Please login to merge, or discard this patch.
src/FacebookAds/Cursor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -462,7 +462,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/FacebookAds/Logger/CurlLogger.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/FacebookAds/Object/Ad.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
   /**
72 72
    * @param array $fields
73 73
    * @param array $params
74
-   * @return TargetingDescription
74
+   * @return null|AbstractCrudObject
75 75
    */
76 76
   public function getTargetingDescription(
77 77
     array $fields = array(), array $params = array()) {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
   /**
98 98
    * @param array $fields
99 99
    * @param array $params
100
-   * @return ReachEstimate
100
+   * @return null|AbstractCrudObject
101 101
    */
102 102
   public function getReachEstimate(
103 103
     array $fields = array(), array $params = array()) {
Please login to merge, or discard this patch.
src/FacebookAds/Object/AdAccount.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
   /**
215 215
    * @param array $fields
216 216
    * @param array $params
217
-   * @return ReachEstimate
217
+   * @return null|AbstractCrudObject
218 218
    */
219 219
   public function getReachEstimate(
220 220
     array $fields = array(), array $params = array()) {
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
   /**
238 238
    * @param array $fields
239 239
    * @param array $params
240
-   * @return TargetingDescription
240
+   * @return null|AbstractCrudObject
241 241
    */
242 242
   public function getTargetingDescription(
243 243
     array $fields = array(), array $params = array()) {
Please login to merge, or discard this patch.
src/FacebookAds/Object/AdImage.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
 namespace FacebookAds\Object;
26 26
 
27 27
 use FacebookAds\Api;
28
-use FacebookAds\Cursor;
29 28
 use FacebookAds\Http\RequestInterface;
30 29
 use FacebookAds\Object\Fields\AdImageFields;
31 30
 use FacebookAds\Object\Traits\CannotUpdate;
Please login to merge, or discard this patch.
src/FacebookAds/Object/AdVideo.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
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()) {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,6 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.
src/FacebookAds/Object/ObjectStory/PhotoData.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
   use FieldValidation;
33 33
 
34 34
   /**
35
-   * @return PhotoDataFields
35
+   * @return \FacebookAds\Object\Fields\ObjectStory\TemplateDataFields
36 36
    */
37 37
   public static function getFieldsEnum() {
38 38
     return PhotoDataFields::getInstance();
Please login to merge, or discard this patch.
src/FacebookAds/Object/ProductCatalog.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 
25 25
 namespace FacebookAds\Object;
26 26
 
27
-use FacebookAds\Api;
28 27
 use FacebookAds\Object\Fields\ProductCatalogFields;
29 28
 use FacebookAds\Object\Traits\FieldValidation;
30 29
 use FacebookAds\Http\RequestInterface;
Please login to merge, or discard this patch.