1 | <?php |
||
15 | class IndexDBFactory { |
||
16 | /** |
||
17 | * Create a new database for index at path. |
||
18 | * |
||
19 | * @param string $path |
||
20 | * @throws \RuntimeException if database already exists. |
||
21 | * @return IndexDB |
||
22 | */ |
||
23 | 1 | public function build_index_db($path) { |
|
33 | |||
34 | /** |
||
35 | * Check if an index database exists. |
||
36 | * |
||
37 | * @param string $path |
||
38 | * @return bool |
||
39 | */ |
||
40 | 4 | public function index_db_exists($path) { |
|
43 | |||
44 | /** |
||
45 | * Load existing index database. |
||
46 | * |
||
47 | * @param string $path |
||
48 | * @throws \RuntimeException if file does not exist |
||
49 | * @return IndexDB |
||
50 | */ |
||
51 | 2 | public function load_index_db($path) { |
|
60 | } |
||
61 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.