Skip to content

Commit 4100d3b

Browse files
authored
add missing testcase for stdClass
1 parent 399a297 commit 4100d3b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/TicketSwapErrorFormatterTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,13 @@ public static function provideHighlight() : iterable
217217
null,
218218
true
219219
];
220+
yield [
221+
'Property <fg=yellow>App\Models\ExampleModel::$example_property</> (<fg=magenta>stdClass</>|<fg=magenta>null</>) does not accept <fg=magenta>mixed</>.',
222+
'Property App\Models\ExampleModel::$example_property (stdClass|null) does not accept mixed.',
223+
null,
224+
null,
225+
true,
226+
];
220227
}
221228

222229
/**

0 commit comments

Comments
 (0)