Skip to content

Commit

Permalink
Unify test provider signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
shira-374 committed Sep 23, 2018
1 parent ab07fa3 commit 6f5b911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Script/ScriptCompilerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function testShouldCompile(
$this->assertSame($expectedResult, $this->compiler->compile($script));
}

function provideScripts(): array
function provideScripts()
{
return [
// script, globalVariables, packageVariables, expectedResult
Expand Down Expand Up @@ -185,7 +185,7 @@ function testShouldThrowExceptionWhenVariableCannotBeCompiled(
$this->compiler->compile($script);
}

function provideScriptsWithInvalidVariables(): array
function provideScriptsWithInvalidVariables()
{
return [
// script, globalVariables, packageVariables, expectedMessage
Expand Down

0 comments on commit 6f5b911

Please sign in to comment.