Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / symfony / css-selector / Parser / Shortcut / EmptyStringParser.php
index 016cf0a848207d107c5fee3082fa8991eb8b19b5..16d374af30ccc8b5c2d8396239eb8a6cea068602 100644 (file)
@@ -37,7 +37,7 @@ class EmptyStringParser implements ParserInterface
     public function parse($source)
     {
         // Matches an empty string
-        if ($source == '') {
+        if ('' == $source) {
             return array(new SelectorNode(new ElementNode(null, '*')));
         }