diff --git a/classes/Autoloader.php b/classes/Autoloader.php index 49a8cb0..3e35018 100644 --- a/classes/Autoloader.php +++ b/classes/Autoloader.php @@ -177,7 +177,7 @@ private function registry(string $type): array } $this->registry[$type] = []; - $finder = (new Finder())->files() + $finder = (new Finder)->files() ->name($options['name']) ->in($dir); diff --git a/tests/index.php b/tests/index.php index b8b3209..80a4619 100644 --- a/tests/index.php +++ b/tests/index.php @@ -4,4 +4,4 @@ const KIRBY_HELPER_E = false; require __DIR__.'/../vendor/autoload.php'; -echo (new Kirby())->render(); +echo (new Kirby)->render();