| 1 | <?php |
||
| 7 | abstract class AbstractMysqlConnection |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * |
||
| 11 | * @var \Soluble\DbWrapper\Adapter\AdapterInterface |
||
| 12 | */ |
||
| 13 | protected $adapter; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * |
||
| 17 | * @param AdapterInterface $adapter |
||
| 18 | * @param mixed $resource |
||
| 19 | */ |
||
| 20 | public function __construct(AdapterInterface $adapter, $resource) |
||
| 25 | |||
| 26 | |||
| 27 | /** |
||
| 28 | * Return current schema/database name |
||
| 29 | * @throws Exception\RuntimeException |
||
| 30 | * @return string|false |
||
| 31 | */ |
||
| 32 | 3 | public function getCurrentSchema() |
|
| 45 | } |
||
| 46 |
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..