Quellcode durchsuchen

fixed typoe on Exception message

sasezaki vor 14 Jahren
Ursprung
Commit
3d85db8fbc
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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);