File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change
1
+ count : 2
2
+ path : src/PhpSpreadsheet/Calculation/Calculation.php
3
+
1
4
parameters :
2
5
ignoreErrors :
3
6
-
@@ -7,9 +10,6 @@ parameters:
7
10
8
11
-
9
12
message : " #^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\ .$#"
10
- count : 2
11
- path : src/PhpSpreadsheet/Calculation/Calculation.php
12
-
13
13
-
14
14
message : " #^Cannot access offset 'onlyIf' on mixed\\ .$#"
15
15
count : 3
Original file line number Diff line number Diff line change @@ -65,6 +65,8 @@ class Cell
65
65
66
66
/**
67
67
* Attributes of the formula.
68
+ *
69
+ * @var null|array
68
70
*/
69
71
private $ formulaAttributes ;
70
72
@@ -701,11 +703,11 @@ public function setXfIndex($indexValue)
701
703
/**
702
704
* Set the formula attributes.
703
705
*
704
- * @param mixed $attributes
706
+ * @param mixed[] $attributes
705
707
*
706
708
* @return $this
707
709
*/
708
- public function setFormulaAttributes ($ attributes )
710
+ public function setFormulaAttributes (array $ attributes )
709
711
{
710
712
$ this ->formulaAttributes = $ attributes ;
711
713
@@ -715,7 +717,7 @@ public function setFormulaAttributes($attributes)
715
717
/**
716
718
* Get the formula attributes.
717
719
*/
718
- public function getFormulaAttributes ()
720
+ public function getFormulaAttributes (): ? array
719
721
{
720
722
return $ this ->formulaAttributes ;
721
723
}
You can’t perform that action at this time.
0 commit comments