Skip to content

Commit 0fb45a8

Browse files
Merge branch '3.3' into 3.4
* 3.3: [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. Removed unnecessary getDefinition() call. .php_cs.dist - simplify config [WebProfilerBundle] fixed TemplateManager when using Twig 2 without compat interfaces
2 parents 7857a52 + 7c42a28 commit 0fb45a8

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)