Skip to content

Commit 668d0bb

Browse files
SpacePossumnicolas-grekas
authored andcommitted
[CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction
1 parent f647c47 commit 668d0bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parser/Shortcut/EmptyStringParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class EmptyStringParser implements ParserInterface
3535
public function parse($source)
3636
{
3737
// Matches an empty string
38-
if ($source == '') {
38+
if ('' == $source) {
3939
return array(new SelectorNode(new ElementNode(null, '*')));
4040
}
4141

0 commit comments

Comments
 (0)