Skip to content

Commit

Permalink
Fixed coding standards due to update of unlocked php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgiosironi committed Aug 20, 2017
1 parent 1f38303 commit 34ca017
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion examples/ElementsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public function testElementsOnlyProducesElementsFromTheGivenArrayDomain()
public function testVectorOfElementsGenerators()
{
$this->forAll(
Generator\vector(4,
Generator\vector(
4,
Generator\elements([2, 4, 6, 8, 10, 12])
)
)
Expand Down
14 changes: 7 additions & 7 deletions src/Generator/GeneratedValueOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ function ($value) use ($callable, $generatorName) {
public function derivedIn($generatorName)
{
throw new RuntimeException("GeneratedValueOptions::derivedIn() is needed, uncomment it");
/*
* Not sure this is needed.
return $this->map(
function ($value) { return $value; },
$generatorName
);
*/
/*
* Not sure this is needed.
return $this->map(
function ($value) { return $value; },
$generatorName
);
*/
}

/**
Expand Down

0 comments on commit 34ca017

Please sign in to comment.