Fixed interface contract of sql statement classes
Dieser Commit ist enthalten in:
Ursprung
eef38cec0c
Commit
d732c0c9eb
7 geänderte Dateien mit 13 neuen und 13 gelöschten Zeilen
|
@ -21,11 +21,11 @@ class Msd_Sql_Parser_Statement_Comment implements Msd_Sql_Parser_Interface
|
|||
/**
|
||||
* Parse the statement.
|
||||
*
|
||||
* @param string $statement MySQL comment.
|
||||
* @param Msd_Sql_Object $statement MySQL comment.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function parse($statement)
|
||||
public function parse(Msd_Sql_Object$statement)
|
||||
{
|
||||
return $statement;
|
||||
}
|
||||
|
|
|
@ -21,11 +21,11 @@ class Msd_Sql_Parser_Statement_Create implements Msd_Sql_Parser_Interface
|
|||
/**
|
||||
* Parse the statement.
|
||||
*
|
||||
* @param string $statement MySQL CREATE statement.
|
||||
* @param Msd_Sql_Object $statement MySQL CREATE statement.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function parse($statement)
|
||||
public function parse(Msd_Sql_Object $statement)
|
||||
{
|
||||
return $statement;
|
||||
}
|
||||
|
|
|
@ -21,11 +21,11 @@ class Msd_Sql_Parser_Statement_Drop implements Msd_Sql_Parser_Interface
|
|||
/**
|
||||
* Parse the statement.
|
||||
*
|
||||
* @param string $statement MySQL DROP statement.
|
||||
* @param Msd_Sql_Object $statement MySQL DROP statement.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function parse($statement)
|
||||
public function parse(Msd_Sql_Object $statement)
|
||||
{
|
||||
return $statement;
|
||||
}
|
||||
|
|
|
@ -21,11 +21,11 @@ class Msd_Sql_Parser_Statement_Insert implements Msd_Sql_Parser_Interface
|
|||
/**
|
||||
* Parse the statement.
|
||||
*
|
||||
* @param string $statement MySQL INSERT statement.
|
||||
* @param Msd_Sql_Object $statement MySQL INSERT statement.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function parse($statement)
|
||||
public function parse(Msd_Sql_Object $statement)
|
||||
{
|
||||
return $statement;
|
||||
}
|
||||
|
|
|
@ -21,11 +21,11 @@ class Msd_Sql_Parser_Statement_Lock implements Msd_Sql_Parser_Interface
|
|||
/**
|
||||
* Parse the statement.
|
||||
*
|
||||
* @param string $statement MySQL LOCK statement.
|
||||
* @param Msd_Sql_Object $statement MySQL LOCK statement.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function parse($statement)
|
||||
public function parse(Msd_Sql_Object $statement)
|
||||
{
|
||||
return $statement;
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ class Msd_Sql_Parser_Statement_Select implements Msd_Sql_Parser_Interface
|
|||
/**
|
||||
* Parse the statement.
|
||||
*
|
||||
* @param string $statement MySQL comment.
|
||||
* @param Msd_Sql_Object $statement MySQL comment.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
|
|
@ -21,11 +21,11 @@ class Msd_Sql_Parser_Statement_Unlock implements Msd_Sql_Parser_Interface
|
|||
/**
|
||||
* Parse the statement.
|
||||
*
|
||||
* @param string $statement MySQL UNLOCK statement.
|
||||
* @param Msd_Sql_Object $statement MySQL UNLOCK statement.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function parse($statement)
|
||||
public function parse(Msd_Sql_Object $statement)
|
||||
{
|
||||
return $statement;
|
||||
}
|
||||
|
|
Laden …
In neuem Issue referenzieren