Passed
Push — master ( b3452a...0c5808 )
by
unknown
18:22 queued 08:16
created
src/PhpSpreadsheet/Calculation/Engine/FormattedNumber.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      *
47 47
      * @param float|string $operand string value to test
48 48
      */
49
-    public static function convertToNumberIfNumeric(float|string &$operand): bool
49
+    public static function convertToNumberIfNumeric(float | string &$operand): bool
50 50
     {
51 51
         $thousandsSeparator = preg_quote(StringHelper::getThousandsSeparator(), '/');
52 52
         $value = preg_replace(['/(\d)' . $thousandsSeparator . '(\d)/u', '/([+-])\s+(\d)/u'], ['$1$2', '$1$2'], trim("$operand"));
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      *
89 89
      * @param float|string $operand string value to test
90 90
      */
91
-    public static function convertToNumberIfPercent(float|string &$operand): bool
91
+    public static function convertToNumberIfPercent(float | string &$operand): bool
92 92
     {
93 93
         $thousandsSeparator = preg_quote(StringHelper::getThousandsSeparator(), '/');
94 94
         $value = preg_replace('/(\d)' . $thousandsSeparator . '(\d)/u', '$1$2', trim("$operand"));
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      *
114 114
      * @param float|string $operand string value to test
115 115
      */
116
-    public static function convertToNumberIfCurrency(float|string &$operand): bool
116
+    public static function convertToNumberIfCurrency(float | string &$operand): bool
117 117
     {
118 118
         $currencyRegexp = self::currencyMatcherRegexp();
119 119
         $thousandsSeparator = preg_quote(StringHelper::getThousandsSeparator(), '/');
Please login to merge, or discard this patch.