mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 14:16:39 +02:00
* update DibiVariableInterface
* some bugs fixed
This commit is contained in:
@@ -44,7 +44,7 @@ class MyDateTime implements DibiVariableInterface
|
||||
* @param string optional modifier
|
||||
* @return string
|
||||
*/
|
||||
public function toSQL($driver, $modifier = NULL)
|
||||
public function toSql(DibiDriverInterface $driver, $modifier)
|
||||
{
|
||||
return $driver->format($this->time, dibi::FIELD_DATETIME); // format according to driver's spec.
|
||||
}
|
||||
|
Reference in New Issue
Block a user