Permalink
Browse files

fixed typo

  • Loading branch information...
nacmartin committed Oct 25, 2011
1 parent 19c758b commit 516049a30491918444e6499c0496e090a4171031
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Jackalope/Query/QOM/QueryObjectModel.php
@@ -55,12 +55,12 @@ public function __construct($factory, ObjectManager $objectManager,
{
foreach ($orderings as $o) {
if (! $o instanceof OrderingInterface) {
- throw new \InvalidArguemntException('Not a valid ordering: '.$o);
+ throw new \InvalidArgumentException('Not a valid ordering: '.$o);
}
}
foreach ($columns as $c) {
if (! $c instanceof ColumnInterface) {
- throw new \InvalidArguemntException('Not a valid column: '.$o);
+ throw new \InvalidArgumentException('Not a valid column: '.$o);
}
}
parent::__construct($factory, '', $objectManager);
@@ -134,4 +134,4 @@ function getLanguage()
{
return self::JCR_JQOM;
}
-}
+}

0 comments on commit 516049a

Please sign in to comment.