Remove invalid return type declarations

parent 4d461200
......@@ -35,7 +35,7 @@ class ResultTest extends TestCase
{
yield 'numeric' => [
'fetchNumeric',
static function (Result $result): array {
static function (Result $result) {
return $result->fetchNumeric();
},
['bar'],
......@@ -43,7 +43,7 @@ class ResultTest extends TestCase
yield 'associative' => [
'fetchAssociative',
static function (Result $result): array {
static function (Result $result) {
return $result->fetchAssociative();
},
['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