Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tkotosz committed Apr 4, 2020
1 parent 20667d1 commit 59f6658
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/guide/usage/mocking-dependency.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@ E.g.:
class FakeConfigProvider implements ConfigProviderInterface
{
/** @var bool */
private $isFreeDeliveryEnabled = false;
/** @var float */
private $freeDeliveryThreshold = 0.0;
public function isFreeDeliverEnabled(): bool
{
return $this->isFreeDeliveryEnabled;
Expand Down

0 comments on commit 59f6658

Please sign in to comment.