Skip to content

Commit

Permalink
Make tests compatibe with PHP 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzap committed Sep 28, 2017
1 parent 2f62fb2 commit 98fd6de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/src/Api/FunctionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ public function testStubsEdgeCases()

static::assertNull(i_return_null());
static::assertNull(i_return_null_too());
static::assertSame('yes', (i_return_a_callback())());
$cb = i_return_a_callback();
static::assertSame('yes', $cb());
}
}

0 comments on commit 98fd6de

Please sign in to comment.