| 1 | <?php |
||
| 11 | class MySql implements EnkiInterface |
||
| 12 | { |
||
| 13 | use LoggedClassTrait; |
||
| 14 | |||
| 15 | private $pdo; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param $host |
||
| 19 | * @param $user |
||
| 20 | * @param $pass |
||
| 21 | * @param $name |
||
| 22 | * |
||
| 23 | * @return mixed |
||
|
|
|||
| 24 | */ |
||
| 25 | 3 | public function connect($host, $user, $pass, $name) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return bool |
||
| 44 | */ |
||
| 45 | 2 | public function disconnect() |
|
| 57 | } |
||
| 58 |
This check looks for the generic type
arrayas a return type and suggests a more specific type. This type is inferred from the actual code.