Completed
Push — master ( c23590...8ff253 )
by
unknown
02:59
created
src/FacebookAds/Api.php 2 patches
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.
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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
 
Please login to merge, or discard this patch.
src/FacebookAds/Cursor.php 2 patches
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.
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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
 
Please login to merge, or discard this patch.
src/FacebookAds/Logger/CurlLogger.php 2 patches
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.
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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
 
Please login to merge, or discard this patch.
src/FacebookAds/Object/Ad.php 2 patches
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.
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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
 
Please login to merge, or discard this patch.
src/FacebookAds/Object/AdAccount.php 3 patches
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.
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
 
@@ -70,11 +70,11 @@  discard block
 block discarded – undo
70 70
     return $this->getManyByConnection(AdUser::className(), $fields, $params);
71 71
   }
72 72
 
73
-   /**
74
-   * @param array $fields
75
-   * @param array $params
76
-   * @return Cursor
77
-   */
73
+    /**
74
+     * @param array $fields
75
+     * @param array $params
76
+     * @return Cursor
77
+     */
78 78
   public function getCampaigns(
79 79
     array $fields = array(), array $params = array()) {
80 80
     return $this->getManyByConnection(
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -415,7 +415,7 @@
 block discarded – undo
415 415
    * @param array $params
416 416
    * @return Cursor
417 417
    */
418
-  public function getCustomConversions (
418
+  public function getCustomConversions(
419 419
     array $fields = array(), array $params = array()) {
420 420
     return $this->getManyByConnection(
421 421
       CustomConversion::className(), $fields, $params);
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 3 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.
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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
 
Please login to merge, or discard this patch.
src/FacebookAds/Object/ObjectStory/PhotoData.php 4 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 use FacebookAds\Object\Fields\ObjectStory\PhotoDataFields;
29 29
 use FacebookAds\Object\Traits\FieldValidation;
30 30
 
31
-class PhotoData extends AbstractObject{
31
+class PhotoData extends AbstractObject {
32 32
   use FieldValidation;
33 33
 
34 34
   /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 use FacebookAds\Object\Fields\ObjectStory\PhotoDataFields;
29 29
 use FacebookAds\Object\Traits\FieldValidation;
30 30
 
31
-class PhotoData extends AbstractObject{
31
+class PhotoData extends AbstractObject {
32 32
   use FieldValidation;
33 33
 
34 34
   /**
Please login to merge, or discard this patch.
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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
 
Please login to merge, or discard this patch.
src/FacebookAds/Object/ProductCatalog.php 2 patches
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.
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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
 
Please login to merge, or discard this patch.