Failed Conditions
Pull Request — master (#191)
by Emanuele
03:09
created
src/FacebookAds/Api.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
     }
91 91
 
92 92
     /**
93
-     * @return Api|null
93
+     * @return Api
94 94
      */
95 95
     public static function instance()
96 96
     {
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
@@ -499,7 +499,7 @@
 block discarded – undo
499 499
 
500 500
     /**
501 501
      * @param mixed $offset
502
-     * @return mixed
502
+     * @return AbstractObject|null
503 503
      */
504 504
     public function offsetGet($offset)
505 505
     {
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
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
 
208 208
     /**
209 209
      * @param array $array
210
-     * @param mixed $key
210
+     * @param string $key
211 211
      * @return mixed
212 212
      */
213 213
     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
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * @param array $fields
78 78
      * @param array $params
79
-     * @return TargetingDescription
79
+     * @return null|AbstractCrudObject
80 80
      */
81 81
     public function getTargetingDescription(
82 82
         array $fields = array(), array $params = array())
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     /**
105 105
      * @param array $fields
106 106
      * @param array $params
107
-     * @return ReachEstimate
107
+     * @return null|AbstractCrudObject
108 108
      */
109 109
     public function getReachEstimate(
110 110
         array $fields = array(), array $params = array())
Please login to merge, or discard this patch.
src/FacebookAds/Object/AdAccount.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
     /**
233 233
      * @param array $fields
234 234
      * @param array $params
235
-     * @return ReachEstimate
235
+     * @return null|AbstractCrudObject
236 236
      */
237 237
     public function getReachEstimate(
238 238
         array $fields = array(), array $params = array())
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     /**
257 257
      * @param array $fields
258 258
      * @param array $params
259
-     * @return TargetingDescription
259
+     * @return null|AbstractCrudObject
260 260
      */
261 261
     public function getTargetingDescription(
262 262
         array $fields = array(), array $params = array())
Please login to merge, or discard this patch.
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
4
- *
5
- * You are hereby granted a non-exclusive, worldwide, royalty-free license to
6
- * use, copy, modify, and distribute this software in source code or binary
7
- * form for use in connection with the web services and APIs provided by
8
- * Facebook.
9
- *
10
- * As with any software that integrates with the Facebook platform, your use
11
- * of this software is subject to the Facebook Developer Principles and
12
- * Policies [http://developers.facebook.com/policy/]. This copyright notice
13
- * shall be included in all copies or substantial portions of the software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21
- * DEALINGS IN THE SOFTWARE.
22
- *
23
- */
3
+     * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
4
+     *
5
+     * You are hereby granted a non-exclusive, worldwide, royalty-free license to
6
+     * use, copy, modify, and distribute this software in source code or binary
7
+     * form for use in connection with the web services and APIs provided by
8
+     * Facebook.
9
+     *
10
+     * As with any software that integrates with the Facebook platform, your use
11
+     * of this software is subject to the Facebook Developer Principles and
12
+     * Policies [http://developers.facebook.com/policy/]. This copyright notice
13
+     * shall be included in all copies or substantial portions of the software.
14
+     *
15
+     * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+     * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+     * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18
+     * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+     * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
+     * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21
+     * DEALINGS IN THE SOFTWARE.
22
+     *
23
+     */
24 24
 
25 25
 namespace FacebookAds\Object;
26 26
 
@@ -75,11 +75,11 @@  discard block
 block discarded – undo
75 75
         return $this->getManyByConnection(AdUser::className(), $fields, $params);
76 76
     }
77 77
 
78
-     /**
79
-     * @param array $fields
80
-     * @param array $params
81
-     * @return Cursor
82
-     */
78
+      /**
79
+       * @param array $fields
80
+       * @param array $params
81
+       * @return Cursor
82
+       */
83 83
     public function getCampaigns(
84 84
         array $fields = array(), array $params = array())
85 85
     {
Please login to merge, or discard this patch.
src/FacebookAds/Object/AdVideo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
     /**
83 83
      * @param array $fields
84 84
      * @param array $params
85
-     * @return Cursor
85
+     * @return \FacebookAds\Cursor
86 86
      */
87 87
     public function getVideoThumbnails(
88 88
         array $fields = array(), array $params = array())
Please login to merge, or discard this patch.
FacebookAds/Object/CustomAudienceNormalizers/ValueNormalizerInterface.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,14 +28,14 @@
 block discarded – undo
28 28
 {
29 29
     /**
30 30
      * @param string $key
31
-     * @param string $key_value
31
+     * @param string $val
32 32
      * @return boolean
33 33
      */
34 34
     public function shouldNormalize($key, $val);
35 35
 
36 36
     /**
37 37
      * @param string $key
38
-     * @param string $key_value
38
+     * @param string $val
39 39
      * @return string
40 40
      */
41 41
     public function normalize($key, $val);
Please login to merge, or discard this patch.
src/FacebookAds/Object/CustomConversion.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @return CustomConversionFields
43
+     * @return Fields\AdConversionPixelFields
44 44
      */
45 45
     public static function getFieldsEnum()
46 46
     {
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
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     use FieldValidation;
34 34
 
35 35
     /**
36
-     * @return PhotoDataFields
36
+     * @return \FacebookAds\Object\Fields\ObjectStory\TemplateDataFields
37 37
      */
38 38
     public static function getFieldsEnum()
39 39
     {
Please login to merge, or discard this patch.