Skip to content

Commit 454a710

Browse files
kazu69DavertMik
authored andcommitted
fixed typo (#156)
1 parent e1f51af commit 454a710

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/Test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ $user->getName(); // => 'davert'
6161
$user->getEmail();// => '[email protected]'
6262

6363
# create an instance of mocked class
64-
test::double('User')->construct(['name' => 'davert']); // via constructir
64+
test::double('User')->construct(['name' => 'davert']); // via constructor
6565
test::double('User')->make(); // without calling constructor
6666

6767
# stub for magic method

src/AspectMock/Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class Test {
6868
* $user->getEmail(); => '[email protected]'
6969
*
7070
* # create an instance of mocked class
71-
* test::double('User')->construct(['name' => 'davert']); // via constructir
71+
* test::double('User')->construct(['name' => 'davert']); // via constructor
7272
* test::double('User')->make(); // without calling constructor
7373
*
7474
* # stub for magic method

0 commit comments

Comments
 (0)