projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
nikic
/
php-parser
/
test
/
code
/
prettyPrinter
/
stmt
/
nullable_types.test
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/nullable_types.test
b/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/nullable_types.test
new file mode 100644
(file)
index 0000000..
6a40e20
--- /dev/null
+++ b/
vendor/nikic/php-parser/test/code/prettyPrinter/stmt/nullable_types.test
@@ -0,0
+1,11
@@
+Nullable types
+-----
+<?php
+function test(?Foo $bar, ?string $foo, ?\Xyz $zyx) : ?Baz
+{
+}
+-----
+!!php7
+function test(?Foo $bar, ?string $foo, ?\Xyz $zyx) : ?Baz
+{
+}
\ No newline at end of file