| 1 | <?php |
||
| 5 | abstract class AbstractMysqlConnection |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * |
||
| 9 | * @var \Soluble\DbWrapper\Adapter\AdapterInterface |
||
| 10 | */ |
||
| 11 | protected $adapter; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * |
||
| 15 | * @param AdapterInterface $adapter |
||
| 16 | * @param mixed $resource |
||
| 17 | */ |
||
| 18 | public function __construct(AdapterInterface $adapter, $resource) |
||
| 23 | |||
| 24 | |||
| 25 | /** |
||
| 26 | * Return current schema/database name |
||
| 27 | * @throws \Soluble\DbWrapper\Exception\RuntimeException |
||
| 28 | * @return string|false |
||
| 29 | */ |
||
| 30 | 2 | public function getCurrentSchema() |
|
| 43 | } |
||
| 44 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..