File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 1
1
parameters :
2
2
ignoreErrors :
3
- -
4
- message : " #^Call to function is_string\\ (\\ ) with stdClass will always evaluate to false\\ .$#"
5
- count : 2
6
- path : ../src/Bigcommerce/Api/Client.php
7
-
8
3
-
9
4
message : " #^Method Bigcommerce\\\\ Api\\\\ Client\\ :\\ :createCoupon\\ (\\ ) has parameter \\ $object with no type specified\\ .$#"
10
5
count : 1
@@ -500,11 +495,6 @@ parameters:
500
495
count : 1
501
496
path : ../src/Bigcommerce/Api/Filter.php
502
497
503
- -
504
- message : " #^Method Bigcommerce\\\\ Api\\\\ Filter\\ :\\ :__set\\ (\\ ) has no return type specified\\ .$#"
505
- count : 1
506
- path : ../src/Bigcommerce/Api/Filter.php
507
-
508
498
-
509
499
message : " #^Method Bigcommerce\\\\ Api\\\\ Filter\\ :\\ :__set\\ (\\ ) has parameter \\ $parameter with no type specified\\ .$#"
510
500
count : 1
Original file line number Diff line number Diff line change @@ -398,8 +398,8 @@ private static function mapCollectionObject($object)
398
398
* Map a single object to a resource class.
399
399
*
400
400
* @param string $resource name of the resource class
401
- * @param \stdClass $object
402
- * @return Resource
401
+ * @param \stdClass|boolean|string $object
402
+ * @return bool|\stdClass|string
403
403
*/
404
404
private static function mapResource ($ resource , $ object )
405
405
{
@@ -415,8 +415,8 @@ private static function mapResource($resource, $object)
415
415
/**
416
416
* Map object representing a count to an integer value.
417
417
*
418
- * @param \stdClass $object
419
- * @return int
418
+ * @param \stdClass|boolean|string $object
419
+ * @return int|boolean
420
420
*/
421
421
private static function mapCount ($ object )
422
422
{
You can’t perform that action at this time.
0 commit comments