Skip to content

Commit b127df4

Browse files
committed
Use phpstan-style return types
1 parent d0e1cf8 commit b127df4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Core/Config/SniffsExcludeArgsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function testInvalid($argument, $value, $errors, $suggestion)
6868
* Data provider for testInvalid().
6969
*
7070
* @see self::testInvalid()
71-
* @return array<string, array<string, string, string[], string>>
71+
* @return non-empty-array<string, array{argument: string, value: string, errors: string[], suggestion: string|null}>
7272
*/
7373
public static function dataInvalidSniffs()
7474
{
@@ -223,7 +223,7 @@ public function testValid($argument, $value, $result)
223223
* Data provider for testValid().
224224
*
225225
* @see self::testValid()
226-
* @return array<string, array<string, string, string[]>
226+
* @return non-empty-array<string, array{argument: string, value: string, result: string[]}>
227227
*/
228228
public static function dataValidSniffs()
229229
{

0 commit comments

Comments
 (0)