Remove invalid return type declarations

parent 4d461200
...@@ -35,7 +35,7 @@ class ResultTest extends TestCase ...@@ -35,7 +35,7 @@ class ResultTest extends TestCase
{ {
yield 'numeric' => [ yield 'numeric' => [
'fetchNumeric', 'fetchNumeric',
static function (Result $result): array { static function (Result $result) {
return $result->fetchNumeric(); return $result->fetchNumeric();
}, },
['bar'], ['bar'],
...@@ -43,7 +43,7 @@ class ResultTest extends TestCase ...@@ -43,7 +43,7 @@ class ResultTest extends TestCase
yield 'associative' => [ yield 'associative' => [
'fetchAssociative', 'fetchAssociative',
static function (Result $result): array { static function (Result $result) {
return $result->fetchAssociative(); return $result->fetchAssociative();
}, },
['foo' => 'bar'], ['foo' => 'bar'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment