Skip to content

Commit 6d8d716

Browse files
Merge branch '3.4'
* 3.4: [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction Reset stopwatch. [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 226b38d + 0fb45a8 commit 6d8d716

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(string $source): array
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)