From 3d85db8fbc4fcd4769c1e153e85687d14bb813d0 Mon Sep 17 00:00:00 2001 From: sasezaki Date: Wed, 27 Apr 2011 23:04:13 +0900 Subject: [PATCH] fixed typoe on Exception message --- src/Symfony/Component/DomCrawler/Link.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/DomCrawler/Link.php b/src/Symfony/Component/DomCrawler/Link.php index e1c3a11240..ea0bd4cac7 100644 --- a/src/Symfony/Component/DomCrawler/Link.php +++ b/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);