Skip to content

Commit 5cf37f7

Browse files
bhoodreamkamranahmedse
authored andcommitted
State - class names fix (kamranahmedse#70)
* State - class names fix * State - class names fix
1 parent b9a53a8 commit 5cf37f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1902,12 +1902,12 @@ $editor = new TextEditor(new Default());
19021902

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

1905-
$editor->setState(new UpperCaseState());
1905+
$editor->setState(new UpperCase());
19061906

19071907
$editor->type('Second line');
19081908
$editor->type('Third line');
19091909

1910-
$editor->setState(new LowerCaseState());
1910+
$editor->setState(new LowerCase());
19111911

19121912
$editor->type('Fourth line');
19131913
$editor->type('Fifth line');

0 commit comments

Comments
 (0)