From: Mikael Nordfeldth Date: Thu, 28 Jan 2016 19:18:06 +0000 (+0100) Subject: Strict Standards: Declaration of MysqlSchema::get() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6b31feb70f2d513554489d92af39a5cbf980f9b1;p=quix0rs-gnu-social.git Strict Standards: Declaration of MysqlSchema::get() should be compatible with Schema::get($conn = NULL) --- 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; }