Fix a few code quality issues
This commit is contained in:
parent
3ce35d78d2
commit
fde92bcb50
@ -20,6 +20,8 @@ namespace Query\Driver;
|
||||
*
|
||||
* @package Query
|
||||
* @subpackage Drivers
|
||||
* @method string quote_ident(string $sql)
|
||||
* @method string quote_table(string $sql)
|
||||
*/
|
||||
abstract class Abstract_Util {
|
||||
|
||||
@ -62,11 +64,10 @@ abstract class Abstract_Util {
|
||||
* @param string $name
|
||||
* @param array $fields
|
||||
* @param array $constraints
|
||||
* @param array $indexes
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function create_table($name, $fields, array $constraints=array(), array $indexes=array())
|
||||
public function create_table($name, $fields, array $constraints=array())
|
||||
{
|
||||
$column_array = array();
|
||||
|
||||
|
@ -23,6 +23,7 @@ namespace Query\Driver;
|
||||
* @method array get_system_tables()
|
||||
* @method array get_tables()
|
||||
* @method object query(string $sql)
|
||||
* @method resource get_service()
|
||||
*/
|
||||
class Firebird_Util extends Abstract_Util {
|
||||
|
||||
@ -94,7 +95,7 @@ class Firebird_Util extends Abstract_Util {
|
||||
public function backup_structure()
|
||||
{
|
||||
list($db_path, $new_file) = func_get_args();
|
||||
return ibase_backup($this->get_service(), $db_path, $new_file, IBASE_BKP_METADATA_ONLY);
|
||||
return ibase_backup($this->get_service(), $db_path, $new_file, \IBASE_BKP_METADATA_ONLY);
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user