Skip to content

Commit

Permalink
Merge pull request #29 from nacmartin/typo
Browse files Browse the repository at this point in the history
fixed typo
  • Loading branch information
dbu committed Oct 25, 2011
2 parents 19c758b + 516049a commit 50c768d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Jackalope/Query/QOM/QueryObjectModel.php
Expand Up @@ -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);
Expand Down Expand Up @@ -134,4 +134,4 @@ function getLanguage()
{
return self::JCR_JQOM;
}
}
}

0 comments on commit 50c768d

Please sign in to comment.