Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Commit

Permalink
Fix white spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
edno committed Feb 4, 2020
1 parent 9d7ba75 commit 01eb72c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"autoload": {
"psr-4": {
"Codeception\\Extension\\": "src/"
"Codeception\\Extension\\": "src/"
}
},
"minimum-stability": "dev",
Expand Down
4 changes: 2 additions & 2 deletions tests/_support/Helper/Acceptance.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function iHaveParams(TableNode $table)
/**
* @When /^I have an array "(\w+)" with values \[(.+)]$/i
*/
public function iHaveArray($var, $values)
public function iHaveArray(string $var, string $values)
{
$array = preg_split('/,\s?/', $values);
Fixtures::add($var, $array);
Expand All @@ -29,7 +29,7 @@ public function iHaveArray($var, $values)
/**
* @When /^I do not have an array "(\w+)"/i
*/
public function iDoNotHaveArray($var)
public function iDoNotHaveArray(string $var)
{
// Do nothing with $var
}
Expand Down
22 changes: 11 additions & 11 deletions tests/_support/Helper/ExtHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ class ExtHelper extends \Codeception\Module
/**
* @When /I have a configuration file(?:.*)/
*/
public function iHaveConfigDoNothing()
{
// do nothing
}
public function iHaveConfigDoNothing()
{
// do nothing
}

/**
* @When /I execute a scenario(?:.*)/
*/
public function iExecuteScenarioDoNothing()
{
// do nothing
}
/**
* @When /I execute a scenario(?:.*)/
*/
public function iExecuteScenarioDoNothing()
{
// do nothing
}
}

0 comments on commit 01eb72c

Please sign in to comment.