This commit is contained in:
2021-09-06 14:31:40 +08:00
parent aa95de08ae
commit 95185d3a93
2 changed files with 1 additions and 5 deletions
+1 -3
View File
@@ -129,9 +129,7 @@ class Container extends BaseObject implements ContainerInterface
* @param array $constrict * @param array $constrict
* @param array $config * @param array $config
* @return object * @return object
* @throws NotFindClassException * @throws
* @throws ReflectionException
* @throws Exception
*/ */
public function newObject($class, array $constrict = [], array $config = []): object public function newObject($class, array $constrict = [], array $config = []): object
{ {
-2
View File
@@ -156,8 +156,6 @@ class Kiri
* @param $className * @param $className
* @param array $construct * @param array $construct
* @return mixed * @return mixed
* @throws NotFindClassException
* @throws ReflectionException
* @throws Exception * @throws Exception
*/ */
public static function createObject($className, array $construct = []): mixed public static function createObject($className, array $construct = []): mixed