zendframework/zf2 — pull request #2693 by coudvanrm (2012-10-06 15:28:01+00:00)
Title: Update library/Zend/Db/Adapter/Driver/Mysqli/Connection.php

Using setResource method cause an exception Catchable fatal error: Argument 1 passed to Zend\Db\Adapter\Driver\Mysqli\Connection::setResource() must be an instance of Zend\Db\Adapter\Driver\Mysqli\Mysqli, instance of mysqli given

Because the class is under a namespace, the type-hinting expects it to be under end\Db\Adapter\Driver\Mysqli\