Skip to content

Commit 81f58ff

Browse files
Christian Leuchttfrommen
Christian Leucht
andauthored
Update tests/unit/PackageTest.php
Co-authored-by: Thorsten Frommen <[email protected]> Signed-off-by: Christian Leucht <[email protected]>
1 parent 6eecb46 commit 81f58ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/PackageTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1465,8 +1465,8 @@ function (\Throwable $throwable) use ($package): void {
14651465
->whenHappen(
14661466
function (\Throwable $throwable) use ($exception, $package): void {
14671467
$this->assertThrowableMessageMatches($throwable, 'boot application');
1468-
/** @var \Throwable $previous */
14691468
$previous = $throwable->getPrevious();
1469+
static::assertTrue($previous instanceof \Throwable);
14701470
$this->assertThrowableMessageMatches($previous, 'build package');
14711471
/** @var \Throwable $previous */
14721472
$previous = $previous->getPrevious();

0 commit comments

Comments
 (0)