Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse authored Feb 20, 2018
1 parent 057e434 commit b866a7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2108,7 +2108,7 @@ class LowerCase implements WritingState
}
}

class Default implements WritingState
class DefaultText implements WritingState
{
public function write(string $words)
{
Expand Down Expand Up @@ -2140,7 +2140,7 @@ class TextEditor
```
And then it can be used as
```php
$editor = new TextEditor(new Default());
$editor = new TextEditor(new DefaultText());

$editor->type('First line');

Expand Down

0 comments on commit b866a7b

Please sign in to comment.