Skip to content

Commit

Permalink
[Behat] Repository Context methods/attributes visibility more strict
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel committed May 2, 2016
1 parent 6e624e5 commit 38bb920
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions eZ/Bundle/PlatformBehatBundle/Context/RepositoryContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,24 @@ trait RepositoryContext
/**
* @var eZ\Publish\API\Repository\Repository
*/
protected $repository;
private $repository;

/**
* @param eZ\Publish\API\Repository\Repository $repository
* @param $repository eZ\Publish\API\Repository\Repository $repository
*/
public function setRepository(Repository $repository)
protected function setRepository(Repository $repository)
{
$this->repository = $repository;
}

/**
* @return eZ\Publish\API\Repository\Repository $repository
*/
public function getRepository()
{
return $this->repository;
}

/**
* @BeforeScenario
*/
Expand Down

0 comments on commit 38bb920

Please sign in to comment.