From 5f7206fe716fb71f564b9fe3611483bb48f4ac97 Mon Sep 17 00:00:00 2001 From: Daniel Schmelz Date: Sat, 20 Aug 2022 14:02:39 +0200 Subject: [PATCH] Fix typos --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 52e20413a..c987b9097 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ assertThat(['name'=> 'foobar'], hasKeyInArray('name')); * `hasKey` - alias of hasKeyInArray -* `hasKeyValuePair` - check if arary has given key, value pair +* `hasKeyValuePair` - check if array has given key, value pair ```php assertThat(['name'=> 'foobar'], hasKeyValuePair('name', 'foobar')); ``` @@ -143,7 +143,7 @@ assertThat(['name'=> 'foobar'], hasKeyValuePair('name', 'foobar')); ```php assertthat([2, 4, 6], arrayWithSize(3)); ``` -* `emptyArray` - check if array is emtpy +* `emptyArray` - check if array is empty ```php assertThat([], emptyArray()); ``` @@ -222,7 +222,7 @@ assertThat([2, 4, 6], everyItem(notNullValue())); assertThat([2, 4, 6], hasItem(equalTo(2))); ``` -* `hasItems` - check array has givem items, it can take multiple matcher as arguments +* `hasItems` - check array has given items, it can take multiple matcher as arguments ```php assertThat([1, 3, 5], hasItems(equalTo(1), equalTo(3))); ``` @@ -456,7 +456,7 @@ $fp = fopen("/tmp/foo", "w+"); assertThat($fp, resourceValue()); ``` -* `scalarValue` - check for scaler value +* `scalarValue` - check for scalar value ```php assertThat(1, scalarValue()); ```