Update tests

This commit is contained in:
Daniil Gentili 2021-01-09 18:38:34 +01:00
parent 79ec0bd1bd
commit e472ac72c2
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
{
};