@@ -12,9 +12,9 @@ |
||
12 | 12 | |
13 | 13 | class NoRecordDeletionException extends Exception |
14 | 14 | { |
15 | - public static function checkNoRecordDeleteException($message) |
|
16 | - { |
|
17 | - return new static($message); |
|
15 | + public static function checkNoRecordDeleteException($message) |
|
16 | + { |
|
17 | + return new static($message); |
|
18 | 18 | |
19 | - } |
|
19 | + } |
|
20 | 20 | } |
@@ -12,10 +12,10 @@ |
||
12 | 12 | |
13 | 13 | class NoArgumentPassedToFunctionException extends Exception { |
14 | 14 | |
15 | - public static function checkNoArgumentPassedToFunction($message) |
|
16 | - { |
|
17 | - return new static($message); |
|
15 | + public static function checkNoArgumentPassedToFunction($message) |
|
16 | + { |
|
17 | + return new static($message); |
|
18 | 18 | |
19 | - } |
|
19 | + } |
|
20 | 20 | |
21 | 21 | } |
@@ -12,9 +12,9 @@ |
||
12 | 12 | |
13 | 13 | class NoRecordInsertionException extends Exception { |
14 | 14 | |
15 | - public static function checkNoRecordAddedException($mesaage) |
|
16 | - { |
|
17 | - return new static($mesaage); |
|
15 | + public static function checkNoRecordAddedException($mesaage) |
|
16 | + { |
|
17 | + return new static($mesaage); |
|
18 | 18 | |
19 | - } |
|
19 | + } |
|
20 | 20 | } |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * @license <https://opensource.org/license/MIT> MIT |
7 | 7 | */ |
8 | 8 | |
9 | -namespace Laztopaz\potatoORM ; |
|
9 | +namespace Laztopaz\potatoORM; |
|
10 | 10 | |
11 | 11 | use Exception; |
12 | 12 |
@@ -12,10 +12,10 @@ |
||
12 | 12 | |
13 | 13 | class NoRecordUpdateException extends Exception { |
14 | 14 | |
15 | - public static function checkNoRecordUpdateException($message) |
|
16 | - { |
|
17 | - return new static($message); |
|
15 | + public static function checkNoRecordUpdateException($message) |
|
16 | + { |
|
17 | + return new static($message); |
|
18 | 18 | |
19 | - } |
|
19 | + } |
|
20 | 20 | |
21 | 21 | } |
@@ -12,10 +12,10 @@ |
||
12 | 12 | |
13 | 13 | class WrongArgumentException extends Exception { |
14 | 14 | |
15 | - public function checkWrongArgumentException($message) |
|
16 | - { |
|
17 | - return new static ($message); |
|
15 | + public function checkWrongArgumentException($message) |
|
16 | + { |
|
17 | + return new static ($message); |
|
18 | 18 | |
19 | - } |
|
19 | + } |
|
20 | 20 | |
21 | 21 | } |
@@ -12,10 +12,10 @@ |
||
12 | 12 | |
13 | 13 | class EmptyArrayException extends Exception { |
14 | 14 | |
15 | - public static function checkEmptyArrayException($message) |
|
16 | - { |
|
17 | - return new static($message); |
|
15 | + public static function checkEmptyArrayException($message) |
|
16 | + { |
|
17 | + return new static($message); |
|
18 | 18 | |
19 | - } |
|
19 | + } |
|
20 | 20 | |
21 | 21 | } |
@@ -12,12 +12,12 @@ |
||
12 | 12 | |
13 | 13 | class TableFieldUndefinedException extends Exception { |
14 | 14 | |
15 | - public static function reportUnknownTableField($unExpectedFields, $message) |
|
16 | - { |
|
17 | - $fields = implode(", ", $unExpectedFields); |
|
15 | + public static function reportUnknownTableField($unExpectedFields, $message) |
|
16 | + { |
|
17 | + $fields = implode(", ", $unExpectedFields); |
|
18 | 18 | |
19 | - return new static($fields." ".$message); |
|
19 | + return new static($fields." ".$message); |
|
20 | 20 | |
21 | - } |
|
21 | + } |
|
22 | 22 | |
23 | 23 | } |
24 | 24 | \ No newline at end of file |