Skip to content

Commit 76e67a2

Browse files
Merge branch '2.7' into 2.8
* 2.7: [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction
2 parents ba32046 + 668d0bb commit 76e67a2

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
@@ -37,7 +37,7 @@ class EmptyStringParser implements ParserInterface
3737
public function parse($source)
3838
{
3939
// Matches an empty string
40-
if ($source == '') {
40+
if ('' == $source) {
4141
return array(new SelectorNode(new ElementNode(null, '*')));
4242
}
4343

0 commit comments

Comments
 (0)