Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mibk committed Mar 3, 2014
1 parent a55ebd6 commit cb128fc
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.gitattributes export-ignore
.gitignore export-ignore
tests/ export-ignore
tests/ export-ignore
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
The MIT License (MIT)
========
=====================

Copyright (c) 2013 Michal Bohuslávek

Expand Down
21 changes: 11 additions & 10 deletions LeanMapperQuery/Caller.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,19 @@
namespace LeanMapperQuery;

/**
* There are 4 possibilities:
* a) caller is just instance of
* LeanMapper\Caller:
* 1) caller is entity
* 2) caller is repository
* b) caller is instance of this class
* (LeanMapperQuery\Caller):
* 3) caller is query object
* 4) if method self::isEntity return TRUE,
* caller is query object via entity
*
* @author Michal Bohuslávek
*/
class Caller extends \LeanMapper\Caller
{
// There are 4 possibilities:
// a) caller is just instance of
// LeanMapper\Caller:
// 1) caller is entity
// 2) caller is repository
// b) caller is instance of this class
// (LeanMapperQuery\Caller):
// 3) caller is query object
// 4) if method self::isEntity return TRUE,
// caller is query object via entity
}
1 change: 0 additions & 1 deletion LeanMapperQuery/Exception/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class Exception extends \Exception
{

}
1 change: 0 additions & 1 deletion LeanMapperQuery/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class InvalidArgumentException extends Exception
{

}
1 change: 0 additions & 1 deletion LeanMapperQuery/Exception/InvalidMethodCallException.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class InvalidMethodCallException extends Exception
{

}
1 change: 0 additions & 1 deletion LeanMapperQuery/Exception/InvalidRelationshipException.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class InvalidRelationshipException extends Exception
{

}
1 change: 0 additions & 1 deletion LeanMapperQuery/Exception/InvalidStateException.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class InvalidStateException extends Exception
{

}
1 change: 0 additions & 1 deletion LeanMapperQuery/Exception/MemberAccessException.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class MemberAccessException extends Exception
{

}
1 change: 0 additions & 1 deletion LeanMapperQuery/Exception/NonExistingMethodException.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class NonExistingMethodException extends Exception
{

}
2 changes: 1 addition & 1 deletion LeanMapperQuery/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public function applyQuery(Fluent $fluent, IMapper $mapper)
// specify $tableName when calling Query::applyQuery anymore.
$fromClause = $fluent->_export('FROM');
if (count($fromClause) !== 3 || $fromClause[1] !== '%n') {
throw new InvalidArgumentException('Unsupported fluent from clase. Only one calling of \\LeanMapper\\Fluent::from method with pure table name as an argument is supported.');
throw new InvalidArgumentException('Unsupported fluent from clause. Only one calling of \\LeanMapper\\Fluent::from method with pure table name as an argument is supported.');
}
list(, , $this->sourceTableName) = $fromClause;
$this->fluent = $fluent;
Expand Down

0 comments on commit cb128fc

Please sign in to comment.