Adding tests

This commit is contained in:
Philipp Holzer
2019-04-08 23:12:34 +02:00
parent 318a3ca785
commit edd4f06ad0
8 changed files with 520 additions and 43 deletions

View File

@@ -17,7 +17,7 @@ class BasePath
*
* @throws \Exception if directory isn't usable
*/
public static function create($basePath, $server = [])
public static function create($basePath, array $server = [])
{
if (!$basePath && !empty($server['DOCUMENT_ROOT'])) {
$basePath = $server['DOCUMENT_ROOT'];