1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-26 11:54:52 +01:00

Update tests

This commit is contained in:
Daniil Gentili 2021-01-09 18:38:34 +01:00
parent a9282514c8
commit f00092bfee
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@ new #[A] class
};
#[A] function () {
};
#[A] fn() => 42;
#[A] fn() => (42);
-----
<?php
@ -176,4 +176,4 @@ class X {};
B,
C,
]
class X {};
class X {};

View File

@ -55,7 +55,7 @@ trait T
}
$x = #[A10] function () {
};
$y = #[A11] fn() => 0;
$y = #[A11] fn() => (0);
new #[A13] class
{
};