Skip to content

Commit

Permalink
Fix: DocBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed May 17, 2024
1 parent c0820c9 commit 2f382f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/DataProvider/VersionProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public static function valuesWhereFirstValueIsGreaterThanSecondValue(): \Generat
* @see https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
* @see https://regex101.com/r/Ly7O1x/3/
*
* @return \Generator<string, array{0: string, 1: string}
* @return \Generator<string, array{0: string, 1: string}>

Check failure on line 310 in test/DataProvider/VersionProvider.php

View workflow job for this annotation

GitHub Actions / Static Code Analysis (7.4, locked)

MixedReturnTypeCoercion

test/DataProvider/VersionProvider.php:310:16: MixedReturnTypeCoercion: The declared return type 'Generator<string, array{0: string, 1: string}, mixed, mixed>' for Ergebnis\Version\Test\DataProvider\VersionProvider::valuesWhereFirstValueIsEqualToSecondValue is more specific than the inferred return type 'Generator<non-empty-string, list{mixed, mixed, -1}, mixed, void>' (see https://psalm.dev/197)
*/
public static function valuesWhereFirstValueIsEqualToSecondValue(): \Generator
{
Expand Down

0 comments on commit 2f382f6

Please sign in to comment.