Fix error on static call

usin where method on $db = MysqliDb::getInstance(); causes error
Merge pull request #1 from sergeyz/patch-1

Fix error on static call