@@ -58,7 +58,7 @@ |
||
| 58 | 58 | /** |
| 59 | 59 | * Generate unnamed placeholders depending on the number of table fields concerned |
| 60 | 60 | * |
| 61 | - * @param array $record Set of affected table fields |
|
| 61 | + * @param array $records Set of affected table fields |
|
| 62 | 62 | * @return array $placeholder Sql statement placeholders for field values |
| 63 | 63 | */ |
| 64 | 64 | public static function generateUnnamedPlaceholders(array $records) |
@@ -23,7 +23,6 @@ discard block |
||
| 23 | 23 | * Check for the existence of a table in the currentt database |
| 24 | 24 | * |
| 25 | 25 | * @param string $table Name of table to be searched in the database |
| 26 | - * @param DbConnnect $dbConnect Database connection object |
|
| 27 | 26 | * @return string Name of the table checked |
| 28 | 27 | */ |
| 29 | 28 | public static function checkTableName($table) |
@@ -44,6 +43,7 @@ discard block |
||
| 44 | 43 | |
| 45 | 44 | /** |
| 46 | 45 | * @var array classname from class namespace |
| 46 | + * @param string $className |
|
| 47 | 47 | * @return string which is in lower case |
| 48 | 48 | **/ |
| 49 | 49 | public static function getClassName($className) |
@@ -112,8 +112,8 @@ |
||
| 112 | 112 | |
| 113 | 113 | /** |
| 114 | 114 | * Get all the records in a database table |
| 115 | - * @return array|object |
|
| 116 | - * @return exception |
|
| 115 | + * @return string |
|
| 116 | + * @return string |
|
| 117 | 117 | */ |
| 118 | 118 | public function getAll() |
| 119 | 119 | { |