chore(tests): UT for MysqlFileParser

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-03-29 19:20:49 +01:00
parent 5c3da6fc3b
commit d48f9207e3
5 changed files with 124 additions and 45 deletions

View File

@@ -4,7 +4,7 @@
*
* @author nuxsmin
* @link https://syspass.org
* @copyright 2012-2021, Rubén Domínguez nuxsmin@$syspass.org
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
*
* This file is part of sysPass.
*
@@ -34,5 +34,5 @@ interface DatabaseFileInterface
/**
* Parses a database script file and returns an array of lines parsed
*/
public function parse(string $delimiter = ';'): array;
}
public function parse(string $delimiter = ';'): iterable;
}