Skip to content

Commit 8e0a4f5

Browse files
Fix tests
1 parent 8ee1db2 commit 8e0a4f5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/Core/File/GetMemberPropertiesTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,32 +1306,32 @@ public static function dataGetMemberProperties()
13061306
'nullable_type' => false,
13071307
],
13081308
],
1309-
'php8.4-final-public-complex-type-property' => [
1309+
'php8.4-final-public-nullable-typed-property' => [
13101310
'identifier' => '/* testPHP84FinalNullableTypedProp */',
13111311
'expected' => [
13121312
'scope' => 'public',
13131313
'scope_specified' => true,
13141314
'is_static' => false,
13151315
'is_readonly' => false,
13161316
'is_final' => true,
1317-
'type' => '(Foo&\Bar)|bool',
1318-
'type_token' => -9,
1317+
'type' => '?string',
1318+
'type_token' => -2,
13191319
'type_end_token' => -2,
1320-
'nullable_type' => false,
1320+
'nullable_type' => true,
13211321
],
13221322
],
1323-
'php8.4-final-public-nullable-typed-property' => [
1323+
'php8.4-final-public-complex-type-property' => [
13241324
'identifier' => '/* testPHP84FinalComplexTypedProp */',
13251325
'expected' => [
13261326
'scope' => 'public',
13271327
'scope_specified' => true,
13281328
'is_static' => false,
13291329
'is_readonly' => false,
13301330
'is_final' => true,
1331-
'type' => '?string',
1332-
'type_token' => -2,
1331+
'type' => '(Foo&\Bar)|bool',
1332+
'type_token' => -9,
13331333
'type_end_token' => -2,
1334-
'nullable_type' => true,
1334+
'nullable_type' => false,
13351335
],
13361336
],
13371337
];

0 commit comments

Comments
 (0)