Skip to content

Commit

Permalink
Adding type in method header
Browse files Browse the repository at this point in the history
  • Loading branch information
chdemko committed Dec 12, 2011
1 parent 90909ef commit 8504270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/utilities/date.php
Expand Up @@ -542,7 +542,7 @@ public function toMySQL($local = false)
* @link http://dev.mysql.com/doc/refman/5.0/en/datetime.html
* @since 11.4
*/
public function toSql($local = false, $dbo = null)
public function toSql($local = false, JDatabase $dbo = null)
{
if ($dbo === null)
{
Expand Down

0 comments on commit 8504270

Please sign in to comment.