Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
francisbesset committed Jan 16, 2013
1 parent f0a41d9 commit 462c06d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/BeSimple/Memcached/Debug/Traceable.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class BeSimple_Memcached_Debug_Traceable implements BeSimple_Memcached_Traceable
public function __construct($memcached)
{
if (!$memcached instanceof Memcached && !$memcached instanceof BeSimple_Memcached_MemcachedInterface) {
throw new \InvalidArgumentException('The memcached must be an instance of Memcached or BeSimple_Memcached_MemcachedInterface');
throw new InvalidArgumentException('The memcached must be an instance of Memcached or BeSimple_Memcached_MemcachedInterface');
}

$this->memcached = $memcached;
Expand Down
2 changes: 1 addition & 1 deletion test/BeSimple/Memcached/Tests/Debug/TraceableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function testConstructWithMemcached()
}

/**
* @expectedException \InvalidArgumentException
* @expectedException InvalidArgumentException
*/
public function testConstructWithInvalidMemcachedInstance()
{
Expand Down

0 comments on commit 462c06d

Please sign in to comment.