Skip to content

Commit

Permalink
Added missing typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Dec 14, 2019
1 parent 508fd44 commit 7ab0ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Loader/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private function processEntries(RepositoryInterface $repository, array $entries)
private static function resolveNestedVariables(RepositoryInterface $repository, Value $value = null)
{
return Option::fromValue($value)
->map(function ($v) use ($repository) {
->map(function (Value $v) use ($repository) {
return array_reduce($v->getVars(), function ($s, $i) use ($repository) {
return substr($s, 0, $i).self::resolveNestedVariable($repository, substr($s, $i));
}, $v->getChars());
Expand Down

0 comments on commit 7ab0ff4

Please sign in to comment.