@@ 843-848 (lines=6) @@ | ||
840 | // This is a string, so it may be a type hint, but it could |
|
841 | // also be a constant used as a default value. |
|
842 | $prevComma = false; |
|
843 | for ($t = $i; $t >= $opener; $t--) { |
|
844 | if ($tokens[$t]['code'] === T_COMMA) { |
|
845 | $prevComma = $t; |
|
846 | break; |
|
847 | } |
|
848 | } |
|
849 | ||
850 | if ($prevComma !== false) { |
|
851 | $nextEquals = false; |
|
@@ 852-857 (lines=6) @@ | ||
849 | ||
850 | if ($prevComma !== false) { |
|
851 | $nextEquals = false; |
|
852 | for ($t = $prevComma; $t < $i; $t++) { |
|
853 | if ($tokens[$t]['code'] === T_EQUAL) { |
|
854 | $nextEquals = $t; |
|
855 | break; |
|
856 | } |
|
857 | } |
|
858 | ||
859 | if ($nextEquals !== false) { |
|
860 | break; |