Failed Conditions
Pull Request — master (#3718)
by Adrien
13:09
created
src/PhpSpreadsheet/Chart/Legend.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
      *
110 110
      * @return false|int
111 111
      */
112
-    public function getPositionXL(): int|bool
112
+    public function getPositionXL(): int | bool
113 113
     {
114 114
         // Scrutinizer thinks the following could return string. It is wrong.
115 115
         return array_search($this->position, self::POSITION_XLREF);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      *
58 58
      * @return array|string The resulting array, or a string containing an error
59 59
      */
60
-    public static function sequence($rows = 1, $columns = 1, $start = 1, $step = 1): string|array
60
+    public static function sequence($rows = 1, $columns = 1, $start = 1, $step = 1): string | array
61 61
     {
62 62
         try {
63 63
             $rows = (int) Helpers::validateNumericNullSubstitution($rows, 1);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/HashTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
      *
113 113
      * @return false|int Index
114 114
      */
115
-    public function getIndexForHashCode(string $hashCode): int|bool
115
+    public function getIndexForHashCode(string $hashCode): int | bool
116 116
     {
117 117
         // Scrutinizer thinks the following could return string. It is wrong.
118 118
         return array_search($hashCode, $this->keyMap, true);
Please login to merge, or discard this patch.