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

Commit

Permalink
Merge pull request #17 from walterdolce/feature/add-missing-docblocks…
Browse files Browse the repository at this point in the history
…-to-ease-ides-work

Add missing docblocks to allow IDEs to autocomplete
  • Loading branch information
vincentchalamon committed Nov 15, 2016
2 parents e4623ff + e1a1839 commit eb2cf39
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Context/ScenarioStateAwareTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/
trait ScenarioStateAwareTrait
{
/**
* @var ScenarioStateInterface
*/
private $scenarioState;

/**
Expand Down
3 changes: 3 additions & 0 deletions src/ScenarioState.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
*/
class ScenarioState implements ScenarioStateInterface
{
/**
* @var array
*/
private $store = [];

/**
Expand Down
11 changes: 11 additions & 0 deletions src/ScenarioStateArgumentOrganiser.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,19 @@
*/
final class ScenarioStateArgumentOrganiser implements ArgumentOrganiser
{
/**
* @var ArgumentOrganiser
*/
private $baseOrganiser;

/**
* @var ScenarioStateInitializer
*/
private $store;

/**
* @var Reader
*/
private $reader;

public function __construct(ArgumentOrganiser $organiser, ScenarioStateInitializer $store, Reader $reader)
Expand Down
3 changes: 3 additions & 0 deletions testapp/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ public static function setUpSuite()
*/
private $scenarioState;

/**
* @param ScenarioStateInterface $scenarioState
*/
public function setScenarioState(ScenarioStateInterface $scenarioState)
{
$this->scenarioState = $scenarioState;
Expand Down

0 comments on commit eb2cf39

Please sign in to comment.