8000 Fixed - Spelling Mistake - Chapter1.md · gistol/design-patterns-by-php@99d27e0 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 99d27e0

Browse files
author
Bruce Liu
committed
Fixed - Spelling Mistake - Chapter1.md
1 parent 17b91dd commit 99d27e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/chapter1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class OperationFactory
9898
// 客户端代码
9999
$operation = OperationFactory::createOperation('+');
100100
$operation->setA(1);
101-
$operation->seB(2);
101+
$operation->setB(2);
102102
echo $operation->getResult()."\n";
103103
```
104104

0 commit comments

Comments
 (0)
0