fix:更新已知bug,优化代码
This commit is contained in:
12
vendor/yansongda/supports/src/Pipeline.php
vendored
12
vendor/yansongda/supports/src/Pipeline.php
vendored
@@ -15,10 +15,8 @@ class Pipeline
|
||||
{
|
||||
/**
|
||||
* The container implementation.
|
||||
*
|
||||
* @var \Psr\Container\ContainerInterface
|
||||
*/
|
||||
protected $container;
|
||||
protected ContainerInterface $container;
|
||||
|
||||
/**
|
||||
* The object being passed through the pipeline.
|
||||
@@ -29,17 +27,13 @@ class Pipeline
|
||||
|
||||
/**
|
||||
* The array of class pipes.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $pipes = [];
|
||||
protected array $pipes = [];
|
||||
|
||||
/**
|
||||
* The method to call on each pipe.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'handle';
|
||||
protected string $method = 'handle';
|
||||
|
||||
public function __construct(ContainerInterface $container)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user