Skip to content

Commit 7c42a28

Browse files
Merge branch '2.8' into 3.3
* 2.8: [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction [Filesystem] mirror - fix copying content with same name as source/target. .php_cs.dist - simplify config [WebProfilerBundle] fixed TemplateManager when using Twig 2 without compat interfaces
2 parents c5f5263 + 76e67a2 commit 7c42a28

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)