Skip to content

Commit

Permalink
Added missing dot and a few more sentences.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustusAdam committed Oct 9, 2015
1 parent 395e771 commit a760068
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ print $a->offsetGet(1); // 'b'

*NOTE: The following methods and principles apply to `ImmutableArray` and
`MutableArray` alike. In the examples provided they are are interchangeable and
aliased with `A`*
aliased with `A`.*

### Chaining

Expand Down Expand Up @@ -286,6 +286,8 @@ $a->toArray(); // [0 => 'a', 1 => 'b', 2 => 'c']

### createClone

Creates a shallow copy of the array.

Keep in mind, that in PHP variables contain only references to the object, **NOT** the object itself:

``` php
Expand Down Expand Up @@ -323,7 +325,7 @@ $b->toArray(); // [0 => 'a', 1 => 'b', 2 => 'c']

### createFromString

Creates an instance array from a simple PHP `string` with specified separator:
Creates an array from a simple PHP `string` with specified separator:

``` php
$a = A::createFromString('a;b;c', ';');
Expand All @@ -341,6 +343,8 @@ $a->toArray(); // [0 => 2, 1 => 4, 2 => 6]

### current

Position of the iterator.

``` php
$a = A::create(['a', 'b', 'c']);
$a->current(); // 'a'
Expand Down

0 comments on commit a760068

Please sign in to comment.