Skip to content

Commit

Permalink
Added options in getRequestedDummyVariable.
Browse files Browse the repository at this point in the history
  • Loading branch information
gent-fella-health committed Oct 29, 2020
1 parent 0f733d1 commit 9096db7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/Stubs/services/service.stub
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ class DummyClass
$this->dispatcher->dispatch(new DummyVariableWasDeleted($dummyVariable));
}

public function getRequestedDummyVariable($dummyVariableId)
public function getRequestedDummyVariable($dummyVariableId, $options = [])
{
$dummyVariable = $this->dummyVariableRepository->getById($dummyVariableId);
$dummyVariable = $this->dummyVariableRepository->getById($dummyVariableId, $options);

if (is_null($dummyVariable)) {
throw new DummyVariableNotFoundException;
Expand Down

0 comments on commit 9096db7

Please sign in to comment.