mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-17 21:55:35 +08:00
refactor container type hint
This commit is contained in:
@@ -211,10 +211,10 @@ class WorkerContainer implements ContainerInterface
|
||||
* 获取一个绑定的实例
|
||||
*
|
||||
* @template T
|
||||
* @param string $abstract 类或接口名
|
||||
* @param class-string<T> $abstract 类或接口名
|
||||
* @param array $parameters 参数
|
||||
* @throws EntryResolutionException
|
||||
* @return T 实例
|
||||
* @return Closure|mixed|T 实例
|
||||
*/
|
||||
public function make(string $abstract, array $parameters = [])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user