@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | /** |
| 120 | 120 | * This method find a record by id |
| 121 | 121 | * @params int id |
| 122 | - * @return Object |
|
| 122 | + * @return BaseClass |
|
| 123 | 123 | * @throws NoArgumentPassedToFunctionException |
| 124 | 124 | */ |
| 125 | 125 | public static function find($id) |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | /** |
| 172 | 172 | * This method return the current class name |
| 173 | 173 | * $params void |
| 174 | - * @return classname |
|
| 174 | + * @return string|false |
|
| 175 | 175 | */ |
| 176 | 176 | public static function getClassName() |
| 177 | 177 | { |
@@ -12,8 +12,8 @@ |
||
| 12 | 12 | |
| 13 | 13 | class NoRecordDeletionException extends Exception |
| 14 | 14 | { |
| 15 | - public static function checkNoRecordUpdateException($message) |
|
| 16 | - { |
|
| 17 | - return new static($message); |
|
| 18 | - } |
|
| 15 | + public static function checkNoRecordUpdateException($message) |
|
| 16 | + { |
|
| 17 | + return new static($message); |
|
| 18 | + } |
|
| 19 | 19 | } |
@@ -12,9 +12,9 @@ |
||
| 12 | 12 | |
| 13 | 13 | class EmptyArrayException extends Exception { |
| 14 | 14 | |
| 15 | - public static function checkEmptyArrayException($message) |
|
| 16 | - { |
|
| 17 | - return new static($message); |
|
| 18 | - } |
|
| 15 | + public static function checkEmptyArrayException($message) |
|
| 16 | + { |
|
| 17 | + return new static($message); |
|
| 18 | + } |
|
| 19 | 19 | |
| 20 | 20 | } |
@@ -12,9 +12,9 @@ |
||
| 12 | 12 | |
| 13 | 13 | class NoArgumentPassedToFunctionException extends Exception { |
| 14 | 14 | |
| 15 | - public static function checkNoArgumentPassedToFunction($message) |
|
| 16 | - { |
|
| 17 | - return new static($message); |
|
| 18 | - } |
|
| 15 | + public static function checkNoArgumentPassedToFunction($message) |
|
| 16 | + { |
|
| 17 | + return new static($message); |
|
| 18 | + } |
|
| 19 | 19 | |
| 20 | 20 | } |
@@ -12,8 +12,8 @@ |
||
| 12 | 12 | |
| 13 | 13 | class NoRecordInsertionException extends Exception { |
| 14 | 14 | |
| 15 | - public static function checkNoRecordAddedException($mesaage) |
|
| 16 | - { |
|
| 17 | - return new static($mesaage); |
|
| 18 | - } |
|
| 15 | + public static function checkNoRecordAddedException($mesaage) |
|
| 16 | + { |
|
| 17 | + return new static($mesaage); |
|
| 18 | + } |
|
| 19 | 19 | } |
@@ -12,9 +12,9 @@ |
||
| 12 | 12 | |
| 13 | 13 | class NoRecordUpdateException extends Exception { |
| 14 | 14 | |
| 15 | - public static function checkNoRecordUpdateException($message) |
|
| 16 | - { |
|
| 17 | - return new static($message); |
|
| 18 | - } |
|
| 15 | + public static function checkNoRecordUpdateException($message) |
|
| 16 | + { |
|
| 17 | + return new static($message); |
|
| 18 | + } |
|
| 19 | 19 | |
| 20 | 20 | } |
@@ -12,9 +12,9 @@ |
||
| 12 | 12 | |
| 13 | 13 | class NullArgumentPassedToFunction extends Exception { |
| 14 | 14 | |
| 15 | - public static function ckeckNullArgumentPassedToFunction($message) |
|
| 16 | - { |
|
| 17 | - return new static ($message); |
|
| 18 | - } |
|
| 15 | + public static function ckeckNullArgumentPassedToFunction($message) |
|
| 16 | + { |
|
| 17 | + return new static ($message); |
|
| 18 | + } |
|
| 19 | 19 | |
| 20 | 20 | } |
@@ -12,9 +12,9 @@ |
||
| 12 | 12 | |
| 13 | 13 | class WrongArgumentException extends Exception { |
| 14 | 14 | |
| 15 | - public function checkWrongArgumentException($message) |
|
| 16 | - { |
|
| 17 | - return new static ($message); |
|
| 18 | - } |
|
| 15 | + public function checkWrongArgumentException($message) |
|
| 16 | + { |
|
| 17 | + return new static ($message); |
|
| 18 | + } |
|
| 19 | 19 | |
| 20 | 20 | } |
@@ -10,11 +10,11 @@ discard block |
||
| 10 | 10 | |
| 11 | 11 | interface InterfaceBaseClass { |
| 12 | 12 | |
| 13 | - /** |
|
| 14 | - * This method gets all the record from a particular table |
|
| 15 | - * @params void |
|
| 16 | - * @return associative array |
|
| 17 | - */ |
|
| 13 | + /** |
|
| 14 | + * This method gets all the record from a particular table |
|
| 15 | + * @params void |
|
| 16 | + * @return associative array |
|
| 17 | + */ |
|
| 18 | 18 | public static function getAll(); |
| 19 | 19 | |
| 20 | 20 | /** |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * @params int $id |
| 30 | 30 | * @return boolean true or false |
| 31 | 31 | */ |
| 32 | - public static function destroy($id); |
|
| 32 | + public static function destroy($id); |
|
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * This method find a record by id |