@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | - * @return callable[]|StageInterface[]|mixed|null |
|
| 48 | + * @return callable[] |
|
| 49 | 49 | */ |
| 50 | 50 | protected function getStages() |
| 51 | 51 | { |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
| 60 | - * @param $stage |
|
| 60 | + * @param callable $stage |
|
| 61 | 61 | * @return callable |
| 62 | 62 | * @throws InvalidArgumentException |
| 63 | 63 | */ |
@@ -8,7 +8,6 @@ discard block |
||
| 8 | 8 | |
| 9 | 9 | namespace flipbox\pipeline\pipelines; |
| 10 | 10 | |
| 11 | -use flipbox\pipeline\processors\processor; |
|
| 12 | 11 | use Flipbox\Skeleton\Helpers\ArrayHelper; |
| 13 | 12 | use Flipbox\Skeleton\Helpers\ObjectHelper; |
| 14 | 13 | use Flipbox\Skeleton\Object\AbstractObject; |
@@ -16,6 +15,7 @@ discard block |
||
| 16 | 15 | use League\Pipeline\ProcessorInterface; |
| 17 | 16 | use League\Pipeline\StageInterface; |
| 18 | 17 | use Psr\Log\InvalidArgumentException; |
| 18 | +use flipbox\pipeline\processors\processor; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * An extensible pipeline |