Skip to content
Merged

typo #247

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Utils/Arrays.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static function searchKey(array $array, $key): ?int

/**
* Inserts the contents of the $inserted array into the $array immediately after the $key.
* If $key is null (or does not exist), it is inserted at the end.
* If $key is null (or does not exist), it is inserted at the beginning.
* @param string|int|null $key
*/
public static function insertBefore(array &$array, $key, array $inserted): void
Expand All @@ -115,7 +115,7 @@ public static function insertBefore(array &$array, $key, array $inserted): void

/**
* Inserts the contents of the $inserted array into the $array before the $key.
* If $key is null (or does not exist), it is inserted at the beginning.
* If $key is null (or does not exist), it is inserted at the end.
* @param string|int|null $key
*/
public static function insertAfter(array &$array, $key, array $inserted): void
Expand Down