File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ use lang\Type;
29
29
class HelloWorld {
30
30
public const GREETING = 'Hello';
31
31
32
- public static function main(array $args): void {
32
+ public static function main(array< string > $args): void {
33
33
$greet= ($to, $from) ==> self::GREETING.' '.$to.' from '.$from;
34
34
$author= Type::forName(self::class)->getAnnotation('author');
35
35
@@ -47,7 +47,7 @@ The following table gives an overview of the current implementation status. The
47
47
| --------------------------------------------------------------------------- | -------- | -------- | -------- | -------- |
48
48
| ** Future** - these might or might not be part of PHP next | | | | |
49
49
| • [ Union types] ( https://wiki.php.net/rfc/union_types ) | ✔(1) | ✔(1) | ✔(1) | ✔(1) |
50
- | • [ XP Compact functions] ( https://github.com/xp-framework/rfc/issues/241 ) | ✔ | ✔ | ✔ | ✔ |
50
+ | • [ XP Compact functions] ( https://github.com/xp-framework/rfc/issues/241 ) | ✔ | ✔ | ✔ | ✔ |
51
51
| • [ Property types] ( https://wiki.php.net/rfc/property_type_hints ) | ✔(1) | ✔(1) | ✔(1) | ✔(1) |
52
52
| | | | | |
53
53
| ** [ Hack] ( https://docs.hhvm.com/hack/ ) ** | | | | |
You can’t perform that action at this time.
0 commit comments