Skip to content

Commit 5212c62

Browse files
vranadg
authored andcommitted
typos
1 parent cb0795b commit 5212c62

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
@@ -64,7 +64,7 @@ public function count(): int
6464

6565

6666
/**
67-
* Replaces or appends a item.
67+
* Replaces or appends an item.
6868
* @param int|null $index
6969
* @param T $value
7070
* @throws Nette\OutOfRangeException
@@ -84,7 +84,7 @@ public function offsetSet($index, $value): void
8484

8585

8686
/**
87-
* Returns a item.
87+
* Returns an item.
8888
* @param int $index
8989
* @return T
9090
* @throws Nette\OutOfRangeException
@@ -100,7 +100,7 @@ public function offsetGet($index): mixed
100100

101101

102102
/**
103-
* Determines whether a item exists.
103+
* Determines whether an item exists.
104104
* @param int $index
105105
*/
106106
public function offsetExists($index): bool
@@ -125,7 +125,7 @@ public function offsetUnset($index): void
125125

126126

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

0 commit comments

Comments
 (0)