Skip to content

Commit

Permalink
chore(docs): fix wrong function name in examples (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmajor authored and azjezz committed Oct 10, 2022
1 parent 837cbe2 commit 2cba987
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Psl/Dict/take.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* Examples:
*
* Dict\drop(['a' => 1, 'b' => 2, 'c' => 3, 'd' => 4], 2)
* Dict\take(['a' => 1, 'b' => 2, 'c' => 3, 'd' => 4], 2)
* => Dict('a' => 1, 'b' => 2)
*
* @template Tk of array-key
Expand Down
2 changes: 1 addition & 1 deletion src/Psl/Vec/take.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* Examples:
*
* Vec\drop([1, 2, 3, 4], 2)
* Vec\take([1, 2, 3, 4], 2)
* => Vec(1, 2)
*
* @template T
Expand Down

0 comments on commit 2cba987

Please sign in to comment.