Adrian Rudnik 14 年之前
父节点
当前提交
19f5d827d2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Component/CssSelector/Tokenizer.php

+ 1 - 1
src/Symfony/Component/CssSelector/Tokenizer.php

@@ -189,7 +189,7 @@ class Tokenizer
         $matchStart = $match[0][1];
 
         if ($matchStart == $pos) {
-            throw new ParseException(sprintf('Unexpected symbol: %s at %s', $s[$pos], $pos));
+            throw new Exception\ParseException(sprintf('Unexpected symbol: %s at %s', $s[$pos], $pos));
         }
 
         $result = substr($s, $start, $matchStart - $start);