From 37406c0e8c441fa99b72870c16e29ae7f9a65eb9 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Thu, 7 Nov 2024 19:28:39 +0100 Subject: [PATCH] CS: minor fixes --- tests/Polyfills/Fixtures/ValueObjectUnionNoReturnType.php | 2 +- tests/bootstrap.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Polyfills/Fixtures/ValueObjectUnionNoReturnType.php b/tests/Polyfills/Fixtures/ValueObjectUnionNoReturnType.php index efa2387..935d445 100644 --- a/tests/Polyfills/Fixtures/ValueObjectUnionNoReturnType.php +++ b/tests/Polyfills/Fixtures/ValueObjectUnionNoReturnType.php @@ -28,7 +28,7 @@ public function __construct( $value ) { * * @param self|OtherClass|array $other Object to compare. * - * @return bool + * @return bool|null */ public function equalsParamUnionType( self|OtherClass|array $other ) { return ( $this->value === $other->value ); diff --git a/tests/bootstrap.php b/tests/bootstrap.php index e4076ae..7f45d03 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -46,7 +46,7 @@ static function ( $fqClassName ) { } else { echo 'Please run `composer install` before attempting to run the tests.'; - die( 1 ); + exit( 1 ); } /*