Failed Conditions
Pull Request — master (#3723)
by Adrien
14:07
created
src/PhpSpreadsheet/Calculation/DateTimeExcel/TimeParts.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
28 28
      *            with the same dimensions
29 29
      */
30
-    public static function hour(mixed $timeValue): array|string|int
30
+    public static function hour(mixed $timeValue): array | string | int
31 31
     {
32 32
         if (is_array($timeValue)) {
33 33
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $timeValue);
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
69 69
      *            with the same dimensions
70 70
      */
71
-    public static function minute(mixed $timeValue): array|string|int
71
+    public static function minute(mixed $timeValue): array | string | int
72 72
     {
73 73
         if (is_array($timeValue)) {
74 74
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $timeValue);
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
110 110
      *            with the same dimensions
111 111
      */
112
-    public static function second(mixed $timeValue): array|string|int
112
+    public static function second(mixed $timeValue): array | string | int
113 113
     {
114 114
         if (is_array($timeValue)) {
115 115
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $timeValue);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -439,7 +439,7 @@
 block discarded – undo
439 439
      * @deprecated 1.23.0 Use the isLogical() method in the Information\Value class instead
440 440
      * @see Information\Value::isLogical()
441 441
      */
442
-    public static function isLogical(mixed $value = null): bool|array
442
+    public static function isLogical(mixed $value = null): bool | array
443 443
     {
444 444
         return Information\Value::isLogical($value);
445 445
     }
Please login to merge, or discard this patch.