mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-21 15:45:36 +08:00
PHP80 小修 (#187)
* migrate-php80 fix styles fix static analyse * fix some bugs
This commit is contained in:
@@ -29,9 +29,7 @@ class PipelineTest extends TestCase
|
||||
$pipe = new Pipeline();
|
||||
$a = $pipe->send('APP')
|
||||
->through([TimerMiddleware::class])
|
||||
->then(function (string $value) {
|
||||
return $value;
|
||||
});
|
||||
->then(fn (string $value) => $value);
|
||||
$this->assertEquals('APP', $a);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user