Skip to content

Commit 5cc51e5

Browse files
committed
Types not fixed
1 parent 1f9dd38 commit 5cc51e5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Pipeline.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static function make(?Container $container = null): Pipeline
7676
$container = ContainerConcrete::getInstance();
7777
}
7878

79-
return $container->make((string) static::class);
79+
return $container->make(static::class);
8080
}
8181

8282
/**
@@ -209,7 +209,7 @@ protected function prepareDestination(Closure $destination)
209209
*/
210210
protected function carry()
211211
{
212-
return function (array $stack, $pipe) {
212+
return function ($stack, $pipe) {
213213
return function ($passable) use ($stack, $pipe) {
214214
$this->fireEvent(PipeExecutionStarted::class, $pipe, $passable);
215215

@@ -252,9 +252,10 @@ protected function carry()
252252
/**
253253
* Parse full pipe string to get name and parameters.
254254
*
255+
* @param string $pipe
255256
* @return array
256257
*/
257-
protected function parsePipeString(string $pipe)
258+
protected function parsePipeString($pipe)
258259
{
259260
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
260261

0 commit comments

Comments
 (0)