We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6eecb46 commit 81f58ffCopy full SHA for 81f58ff
tests/unit/PackageTest.php
@@ -1465,8 +1465,8 @@ function (\Throwable $throwable) use ($package): void {
1465
->whenHappen(
1466
function (\Throwable $throwable) use ($exception, $package): void {
1467
$this->assertThrowableMessageMatches($throwable, 'boot application');
1468
- /** @var \Throwable $previous */
1469
$previous = $throwable->getPrevious();
+ static::assertTrue($previous instanceof \Throwable);
1470
$this->assertThrowableMessageMatches($previous, 'build package');
1471
/** @var \Throwable $previous */
1472
$previous = $previous->getPrevious();
0 commit comments