Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Christiansen committed Dec 18, 2013
1 parent 9202190 commit e1b629d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ use Nulpunkt\PhpStub\Stub;
$stub = new Stub([
'answer' => 42,
'callMe' => function($a) { return $a; } # Anything which is a callable

]);
echo $stub->answer(); # => 42
echo $stub->answer; # => 42
echo $stub->callMe('maybe'); # => 'maybe'
echo $stub->lol()->hey(); # => $stub

Expand Down

0 comments on commit e1b629d

Please sign in to comment.