Completed
Pull Request — master (#92)
by
unknown
02:51
created
src/Rules/Html/CssSelectorExistsRule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@
 block discarded – undo
35 35
 
36 36
             if ($count > 0) {
37 37
                 $result = $count;
38
-                $message = 'The xpath "' . $selector . '" was found ' . $count . ' times.';
38
+                $message = 'The xpath "'.$selector.'" was found '.$count.' times.';
39 39
             } else {
40
-                throw new \RuntimeException('CSS Selector ' . $selector .' not found in DOM.');
40
+                throw new \RuntimeException('CSS Selector '.$selector.' not found in DOM.');
41 41
             }
42 42
             $this->assert($result, $message);
43 43
         }
Please login to merge, or discard this patch.