Passed
Pull Request — master (#3718)
by Adrien
19:29 queued 04:31
created
Category
src/PhpSpreadsheet/Calculation/MathTrig/Absolute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
21 21
      *            with the same dimensions
22 22
      */
23
-    public static function evaluate($number): array|string|int|float
23
+    public static function evaluate($number): array | string | int | float
24 24
     {
25 25
         if (is_array($number)) {
26 26
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig/Roman.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -825,7 +825,7 @@
 block discarded – undo
825 825
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
826 826
      *            with the same dimensions
827 827
      */
828
-    public static function evaluate($aValue, $style = 0): array|string
828
+    public static function evaluate($aValue, $style = 0): array | string
829 829
     {
830 830
         if (is_array($aValue) || is_array($style)) {
831 831
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $aValue, $style);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig/Angle.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
21 21
      *            with the same dimensions
22 22
      */
23
-    public static function toDegrees($number): array|string|float
23
+    public static function toDegrees($number): array | string | float
24 24
     {
25 25
         if (is_array($number)) {
26 26
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
47 47
      *            with the same dimensions
48 48
      */
49
-    public static function toRadians($number): array|string|float
49
+    public static function toRadians($number): array | string | float
50 50
     {
51 51
         if (is_array($number)) {
52 52
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig/Sqrt.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
47 47
      *            with the same dimensions
48 48
      */
49
-    public static function pi($number): array|string|float
49
+    public static function pi($number): array | string | float
50 50
     {
51 51
         if (is_array($number)) {
52 52
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig/Base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
30 30
      *            with the same dimensions
31 31
      */
32
-    public static function evaluate($number, $radix, $minLength = null): array|string
32
+    public static function evaluate($number, $radix, $minLength = null): array | string
33 33
     {
34 34
         if (is_array($number) || is_array($radix) || is_array($minLength)) {
35 35
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $radix, $minLength);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig/Sum.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      *
82 82
      * @return float|int|string The result, or a string containing an error
83 83
      */
84
-    public static function product(...$args): string|int|float
84
+    public static function product(...$args): string | int | float
85 85
     {
86 86
         $arrayList = $args;
87 87
 
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig/Exp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
21 21
      *            with the same dimensions
22 22
      */
23
-    public static function evaluate($number): array|string|float
23
+    public static function evaluate($number): array | string | float
24 24
     {
25 25
         if (is_array($number)) {
26 26
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/DateTimeExcel/NetworkDays.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      *         If an array of values is passed for the $startDate or $endDate arguments, then the returned result
34 34
      *            will also be an array with matching dimensions
35 35
      */
36
-    public static function count($startDate, $endDate, ...$dateArgs): array|string|int
36
+    public static function count($startDate, $endDate, ...$dateArgs): array | string | int
37 37
     {
38 38
         if (is_array($startDate) || is_array($endDate)) {
39 39
             return self::evaluateArrayArgumentsSubset(
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/DateTimeExcel/Days360.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      *         If an array of values is passed for the $startDate or $endDays,arguments, then the returned result
45 45
      *            will also be an array with matching dimensions
46 46
      */
47
-    public static function between($startDate = 0, $endDate = 0, $method = false): array|string|int
47
+    public static function between($startDate = 0, $endDate = 0, $method = false): array | string | int
48 48
     {
49 49
         if (is_array($startDate) || is_array($endDate) || is_array($method)) {
50 50
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $startDate, $endDate, $method);
Please login to merge, or discard this patch.