Completed
Push — master ( fbce64...8cc02b )
by Christian
02:30
created
src/ExpressionLanguage/Lexer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 
29 29
             if (preg_match('/[0-9]+(?:\.[0-9]+)?/A', $expression, $match, null, $cursor)) {
30 30
                 // numbers
31
-                $number = (float) $match[0];  // floats
31
+                $number = (float) $match[0]; // floats
32 32
                 if (ctype_digit($match[0]) && $number <= PHP_INT_MAX) {
33 33
                     $number = (int) $match[0]; // integers lower than the maximum
34 34
                 }
Please login to merge, or discard this patch.
src/ExpressionLanguage/TokenStream.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
             throw new SyntaxError(
122 122
                 sprintf(
123 123
                     '%sUnexpected token "%s" of value "%s" ("%s" expected%s)',
124
-                    $message ? $message.'. ' : '',
124
+                    $message ? $message . '. ' : '',
125 125
                     $token->type,
126 126
                     $token->value,
127 127
                     $type,
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
      *
139 139
      * @param int   $offset
140 140
      * @param int   $length
141
-     * @param array $replacements
141
+     * @param \Symfony\Component\ExpressionLanguage\Token[] $replacements
142 142
      *
143 143
      * @return static
144 144
      */
Please login to merge, or discard this patch.