diff --git a/tests/Core/Tokenizers/PHP/BitwiseOrTest.php b/tests/Core/Tokenizers/PHP/BitwiseOrTest.php index ee1ff84f2a..def661648c 100644 --- a/tests/Core/Tokenizers/PHP/BitwiseOrTest.php +++ b/tests/Core/Tokenizers/PHP/BitwiseOrTest.php @@ -153,8 +153,8 @@ public static function dataTypeUnion() 'return type for arrow function' => ['/* testTypeUnionArrowReturnType */'], 'type for function parameter, return by ref' => ['/* testTypeUnionNonArrowFunctionDeclaration */'], 'type for function param with true type first' => ['/* testTypeUnionPHP82TrueFirst */'], - 'type for function param with true type middle' => ['/* testTypeUnionPHP82TrueMiddle */'], - 'type for function param with true type last' => ['/* testTypeUnionPHP82TrueLast */'], + 'return type for function with true type middle' => ['/* testTypeUnionPHP82TrueMiddle */'], + 'return type for closure with true type last' => ['/* testTypeUnionPHP82TrueLast */'], ]; }//end dataTypeUnion()