1
0
Fork 0

Fixed interface contract of sql statement classes

Dieser Commit ist enthalten in:
DSB 2011-06-19 22:13:10 +00:00
Ursprung eef38cec0c
Commit d732c0c9eb
7 geänderte Dateien mit 13 neuen und 13 gelöschten Zeilen

Datei anzeigen

@ -21,11 +21,11 @@ class Msd_Sql_Parser_Statement_Comment implements Msd_Sql_Parser_Interface
/** /**
* Parse the statement. * Parse the statement.
* *
* @param string $statement MySQL comment. * @param Msd_Sql_Object $statement MySQL comment.
* *
* @return void * @return void
*/ */
public function parse($statement) public function parse(Msd_Sql_Object$statement)
{ {
return $statement; return $statement;
} }

Datei anzeigen

@ -21,11 +21,11 @@ class Msd_Sql_Parser_Statement_Create implements Msd_Sql_Parser_Interface
/** /**
* Parse the statement. * Parse the statement.
* *
* @param string $statement MySQL CREATE statement. * @param Msd_Sql_Object $statement MySQL CREATE statement.
* *
* @return void * @return void
*/ */
public function parse($statement) public function parse(Msd_Sql_Object $statement)
{ {
return $statement; return $statement;
} }

Datei anzeigen

@ -21,11 +21,11 @@ class Msd_Sql_Parser_Statement_Drop implements Msd_Sql_Parser_Interface
/** /**
* Parse the statement. * Parse the statement.
* *
* @param string $statement MySQL DROP statement. * @param Msd_Sql_Object $statement MySQL DROP statement.
* *
* @return void * @return void
*/ */
public function parse($statement) public function parse(Msd_Sql_Object $statement)
{ {
return $statement; return $statement;
} }

Datei anzeigen

@ -21,11 +21,11 @@ class Msd_Sql_Parser_Statement_Insert implements Msd_Sql_Parser_Interface
/** /**
* Parse the statement. * Parse the statement.
* *
* @param string $statement MySQL INSERT statement. * @param Msd_Sql_Object $statement MySQL INSERT statement.
* *
* @return void * @return void
*/ */
public function parse($statement) public function parse(Msd_Sql_Object $statement)
{ {
return $statement; return $statement;
} }

Datei anzeigen

@ -21,11 +21,11 @@ class Msd_Sql_Parser_Statement_Lock implements Msd_Sql_Parser_Interface
/** /**
* Parse the statement. * Parse the statement.
* *
* @param string $statement MySQL LOCK statement. * @param Msd_Sql_Object $statement MySQL LOCK statement.
* *
* @return void * @return void
*/ */
public function parse($statement) public function parse(Msd_Sql_Object $statement)
{ {
return $statement; return $statement;
} }

Datei anzeigen

@ -21,7 +21,7 @@ class Msd_Sql_Parser_Statement_Select implements Msd_Sql_Parser_Interface
/** /**
* Parse the statement. * Parse the statement.
* *
* @param string $statement MySQL comment. * @param Msd_Sql_Object $statement MySQL comment.
* *
* @return void * @return void
*/ */

Datei anzeigen

@ -21,11 +21,11 @@ class Msd_Sql_Parser_Statement_Unlock implements Msd_Sql_Parser_Interface
/** /**
* Parse the statement. * Parse the statement.
* *
* @param string $statement MySQL UNLOCK statement. * @param Msd_Sql_Object $statement MySQL UNLOCK statement.
* *
* @return void * @return void
*/ */
public function parse($statement) public function parse(Msd_Sql_Object $statement)
{ {
return $statement; return $statement;
} }