@@ -1247,7 +1247,7 @@ public function protectIdentifiers($item, bool $prefixSingle = false, bool $prot
12471247 *
12481248 * This function escapes column and table names
12491249 *
1250- * @param mixed
1250+ * @param mixed $item
12511251 *
12521252 * @return mixed
12531253 */
@@ -1442,7 +1442,7 @@ public function escapeString($str, bool $like = false)
14421442 * specific escaping for LIKE conditions
14431443 *
14441444 * @param string|string[]
1445- * @return mixed
1445+ * @return string|string[]
14461446 */
14471447 public function escapeLikeString ($ str )
14481448 {
@@ -1507,19 +1507,19 @@ public function callFunction(string $functionName, ...$params): bool
15071507 /**
15081508 * Returns an array of table names
15091509 *
1510- * @param boolean $constrain_by_prefix = FALSE
1510+ * @param boolean $constrainByPrefix = FALSE
15111511 * @return boolean|array
15121512 * @throws \CodeIgniter\Database\Exceptions\DatabaseException
15131513 */
1514- public function listTables (bool $ constrain_by_prefix = false )
1514+ public function listTables (bool $ constrainByPrefix = false )
15151515 {
15161516 // Is there a cached result?
15171517 if (isset ($ this ->dataCache ['table_names ' ]) && $ this ->dataCache ['table_names ' ])
15181518 {
15191519 return $ this ->dataCache ['table_names ' ];
15201520 }
15211521
1522- if (false === ($ sql = $ this ->_listTables ($ constrain_by_prefix )))
1522+ if (false === ($ sql = $ this ->_listTables ($ constrainByPrefix )))
15231523 {
15241524 if ($ this ->DBDebug )
15251525 {
@@ -1567,12 +1567,12 @@ public function listTables(bool $constrain_by_prefix = false)
15671567 /**
15681568 * Determine if a particular table exists
15691569 *
1570- * @param string $table_name
1570+ * @param string $tableName
15711571 * @return boolean
15721572 */
1573- public function tableExists (string $ table_name ): bool
1573+ public function tableExists (string $ tableName ): bool
15741574 {
1575- return in_array ($ this ->protectIdentifiers ($ table_name , true , false , false ), $ this ->listTables ());
1575+ return in_array ($ this ->protectIdentifiers ($ tableName , true , false , false ), $ this ->listTables ());
15761576 }
15771577
15781578 //--------------------------------------------------------------------
0 commit comments