@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | if (empty($s) || empty($t)) { |
12 | 12 | return false; |
13 | 13 | } |
14 | - $helper = static function (string &$s, int &$i) { |
|
14 | + $helper = static function(string &$s, int &$i) { |
|
15 | 15 | $n = 0; |
16 | 16 | while ($i >= 0 && ($n > 0 || $s[$i] === '#')) { |
17 | 17 | $n = $s[$i] === '#' ? $n + 1 : $n - 1; |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | if (empty($s) || empty($t)) { |
66 | 66 | return false; |
67 | 67 | } |
68 | - $helper = static function (string $s, array $stack) { |
|
68 | + $helper = static function(string $s, array $stack) { |
|
69 | 69 | $n = strlen($s); |
70 | 70 | for ($i = 0; $i < $n; $i++) { |
71 | 71 | if ($s[$i] === '#') { |