Strict Standards: Declaration of MysqlSchema::get()

should be compatible with Schema::get($conn = NULL)
This commit is contained in:
Mikael Nordfeldth 2016-01-28 20:18:06 +01:00
parent a6898b033d
commit 6b31feb70f

View File

@ -58,10 +58,10 @@ class MysqlSchema extends Schema
* @return Schema the (single) Schema object * @return Schema the (single) Schema object
*/ */
static function get() static function get($conn = null)
{ {
if (empty(self::$_single)) { if (empty(self::$_single)) {
self::$_single = new Schema(); self::$_single = new Schema($conn);
} }
return self::$_single; return self::$_single;
} }