We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34a8397 commit bc63dfbCopy full SHA for bc63dfb
src/test/php/lang/ast/syntax/php/unittest/IsOperatorTest.class.php
@@ -130,7 +130,7 @@ public function run() {
130
#[Test]
131
public function is_native_iterable_type() {
132
$r= $this->run('class <T> implements \IteratorAggregate {
133
- public function getIterator() {
+ public function getIterator(): \Traversable {
134
yield 1;
135
}
136
0 commit comments