소스 검색

Merge remote branch 'sasezaki/fixed-typo-domcrawler'

* sasezaki/fixed-typo-domcrawler:
  fixed typoe on Exception message
Fabien Potencier 14 년 전
부모
커밋
5fab450c33
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Component/DomCrawler/Link.php

+ 1 - 1
src/Symfony/Component/DomCrawler/Link.php

@@ -38,7 +38,7 @@ class Link
     public function __construct(\DOMNode $node, $currentUri, $method = 'get')
     {
         if (!in_array(substr($currentUri, 0, 4), array('http', 'file'))) {
-            throw new \InvalidArgumentException(sprintf('Current URI must be an asbolute URL ("%s").', $currentUri));
+            throw new \InvalidArgumentException(sprintf('Current URI must be an absolute URL ("%s").', $currentUri));
         }
 
         $this->setNode($node);