phpstan: add LevelDB::get() stub to fix return type

This commit is contained in:
Dylan K. Taylor
2020-06-10 10:31:54 +01:00
parent 1bbeb62457
commit 42613618a5
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<?php
class LevelDB{
/**
* @param string $key
* @param array<string, mixed> $read_options
*
* @return string|false
*/
public function get($key, array $read_options = []){}
}