Passed
Pull Request — master (#4327)
by Owen
19:24 queued 08:52
created
src/PhpSpreadsheet/Calculation/Financial/InterestRate.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
      * @param mixed $nominalRate Nominal interest rate as a float
21 21
      * @param mixed $periodsPerYear Integer number of compounding payments per year
22 22
      */
23
-    public static function effective(mixed $nominalRate = 0, mixed $periodsPerYear = 0): string|float
23
+    public static function effective(mixed $nominalRate = 0, mixed $periodsPerYear = 0): string | float
24 24
     {
25 25
         $nominalRate = Functions::flattenSingleValue($nominalRate);
26 26
         $periodsPerYear = Functions::flattenSingleValue($periodsPerYear);
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      *
50 50
      * @return float|string Result, or a string containing an error
51 51
      */
52
-    public static function nominal(mixed $effectiveRate = 0, mixed $periodsPerYear = 0): string|float
52
+    public static function nominal(mixed $effectiveRate = 0, mixed $periodsPerYear = 0): string | float
53 53
     {
54 54
         $effectiveRate = Functions::flattenSingleValue($effectiveRate);
55 55
         $periodsPerYear = Functions::flattenSingleValue($periodsPerYear);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering/BesselJ.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
35 35
      *            with the same dimensions
36 36
      */
37
-    public static function BESSELJ(mixed $x, mixed $ord): array|string|float
37
+    public static function BESSELJ(mixed $x, mixed $ord): array | string | float
38 38
     {
39 39
         if (is_array($x) || is_array($ord)) {
40 40
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $x, $ord);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering/BesselK.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
33 33
      *            with the same dimensions
34 34
      */
35
-    public static function BESSELK(mixed $x, mixed $ord): array|string|float
35
+    public static function BESSELK(mixed $x, mixed $ord): array | string | float
36 36
     {
37 37
         if (is_array($x) || is_array($ord)) {
38 38
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $x, $ord);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering/BesselI.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
36 36
      *            with the same dimensions
37 37
      */
38
-    public static function BESSELI(mixed $x, mixed $ord): array|string|float
38
+    public static function BESSELI(mixed $x, mixed $ord): array | string | float
39 39
     {
40 40
         if (is_array($x) || is_array($ord)) {
41 41
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $x, $ord);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering/BesselY.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
32 32
      *            with the same dimensions
33 33
      */
34
-    public static function BESSELY(mixed $x, mixed $ord): array|string|float
34
+    public static function BESSELY(mixed $x, mixed $ord): array | string | float
35 35
     {
36 36
         if (is_array($x) || is_array($ord)) {
37 37
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $x, $ord);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Statistical/Distributions/LogNormal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
      *            accuracy if I can get my head round the mathematics
115 115
      *            (as described at) http://home.online.no/~pjacklam/notes/invnorm/
116 116
      */
117
-    public static function inverse(mixed $probability, mixed $mean, mixed $stdDev): array|string|float
117
+    public static function inverse(mixed $probability, mixed $mean, mixed $stdDev): array | string | float
118 118
     {
119 119
         if (is_array($probability) || is_array($mean) || is_array($stdDev)) {
120 120
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $probability, $mean, $stdDev);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Statistical/Distributions/Poisson.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 distribution(mixed $value, mixed $mean, mixed $cumulative): array|string|float
32
+    public static function distribution(mixed $value, mixed $mean, mixed $cumulative): array | string | float
33 33
     {
34 34
         if (is_array($value) || is_array($mean) || is_array($cumulative)) {
35 35
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $mean, $cumulative);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Statistical/Distributions/StandardNormal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
95 95
      *            with the same dimensions
96 96
      */
97
-    public static function gauss(mixed $value): array|string|float
97
+    public static function gauss(mixed $value): array | string | float
98 98
     {
99 99
         if (is_array($value)) {
100 100
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Statistical/Distributions/Weibull.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 distribution(mixed $value, mixed $alpha, mixed $beta, mixed $cumulative): array|string|float
32
+    public static function distribution(mixed $value, mixed $alpha, mixed $beta, mixed $cumulative): array | string | float
33 33
     {
34 34
         if (is_array($value) || is_array($alpha) || is_array($beta) || is_array($cumulative)) {
35 35
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $alpha, $beta, $cumulative);
Please login to merge, or discard this patch.