From 6b31feb70f2d513554489d92af39a5cbf980f9b1 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 28 Jan 2016 20:18:06 +0100 Subject: [PATCH] Strict Standards: Declaration of MysqlSchema::get() should be compatible with Schema::get($conn = NULL) --- lib/mysqlschema.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mysqlschema.php b/lib/mysqlschema.php index f1fc0f46ec..9081c0e578 100644 --- a/lib/mysqlschema.php +++ b/lib/mysqlschema.php @@ -58,10 +58,10 @@ class MysqlSchema extends Schema * @return Schema the (single) Schema object */ - static function get() + static function get($conn = null) { if (empty(self::$_single)) { - self::$_single = new Schema(); + self::$_single = new Schema($conn); } return self::$_single; } -- 2.39.5