From 8bc1a17601533ee4665967292d114493f0bef5df Mon Sep 17 00:00:00 2001 From: Chuck Burgess Date: Tue, 19 Jun 2018 12:23:19 -0500 Subject: [PATCH] loosen typing to match reflection-common; --- src/phpDocumentor/Reflection/Php/ProjectFactory.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/phpDocumentor/Reflection/Php/ProjectFactory.php b/src/phpDocumentor/Reflection/Php/ProjectFactory.php index 9647be6d..86f2a469 100644 --- a/src/phpDocumentor/Reflection/Php/ProjectFactory.php +++ b/src/phpDocumentor/Reflection/Php/ProjectFactory.php @@ -65,10 +65,11 @@ public static function createInstance(): self /** * Creates a project from the set of files. * + * @param string $name * @param File[] $files * @throws Exception when no matching strategy was found. */ - public function create(string $name, array $files): ProjectInterface + public function create($name, array $files): ProjectInterface { $project = new Project($name);