Skip to content

Commit

Permalink
Merge pull request bocharsky-bw#23 from pmysiak/patch-1
Browse files Browse the repository at this point in the history
Fix class name typo in docs
  • Loading branch information
bocharsky-bw committed Oct 9, 2015
2 parents 449c4a2 + 738697d commit c624507
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 @@ -144,7 +144,7 @@ Create a new empty array with the `new` statement.
``` php
$a = new MutableArray; // Create new instance of MutableArray
// or
$a = new ImmutabelArray; // Create new instance of ImmutableArray
$a = new ImmutableArray; // Create new instance of ImmutableArray
// or
$a = new MuArr; // using namespace aliases
```
Expand All @@ -154,7 +154,7 @@ or with default values, passed to the constructor in an array:
``` php
$a = new MutableArray([1, 2, 3]);
// or
$a = new ImmutabelArray([1, 2, 3]);
$a = new ImmutableArray([1, 2, 3]);
```

Also, new objects can be created with one of the public static methods
Expand Down

0 comments on commit c624507

Please sign in to comment.