Skip to content

Commit 5c2c5f8

Browse files
committed
typos
1 parent 5ab770f commit 5c2c5f8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/Utils/ArrayHash.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function count(): int
6060

6161

6262
/**
63-
* Replaces or appends a item.
63+
* Replaces or appends an item.
6464
* @param array-key $key
6565
* @param T $value
6666
*/
@@ -75,7 +75,7 @@ public function offsetSet($key, $value): void
7575

7676

7777
/**
78-
* Returns a item.
78+
* Returns an item.
7979
* @param array-key $key
8080
* @return T
8181
*/
@@ -87,7 +87,7 @@ public function offsetGet($key)
8787

8888

8989
/**
90-
* Determines whether a item exists.
90+
* Determines whether an item exists.
9191
* @param array-key $key
9292
*/
9393
public function offsetExists($key): bool

src/Utils/ArrayList.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function count(): int
6262

6363

6464
/**
65-
* Replaces or appends a item.
65+
* Replaces or appends an item.
6666
* @param int|null $index
6767
* @param T $value
6868
* @throws Nette\OutOfRangeException
@@ -82,7 +82,7 @@ public function offsetSet($index, $value): void
8282

8383

8484
/**
85-
* Returns a item.
85+
* Returns an item.
8686
* @param int $index
8787
* @return T
8888
* @throws Nette\OutOfRangeException
@@ -98,7 +98,7 @@ public function offsetGet($index): mixed
9898

9999

100100
/**
101-
* Determines whether a item exists.
101+
* Determines whether an item exists.
102102
* @param int $index
103103
*/
104104
public function offsetExists($index): bool
@@ -123,7 +123,7 @@ public function offsetUnset($index): void
123123

124124

125125
/**
126-
* Prepends a item.
126+
* Prepends an item.
127127
* @param T $value
128128
*/
129129
public function prepend(mixed $value): void

0 commit comments

Comments
 (0)