diff --git a/src/Psl/Dict/take.php b/src/Psl/Dict/take.php index 485cdad8..e19116b2 100644 --- a/src/Psl/Dict/take.php +++ b/src/Psl/Dict/take.php @@ -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 diff --git a/src/Psl/Vec/take.php b/src/Psl/Vec/take.php index 889aef20..7a136ee0 100644 --- a/src/Psl/Vec/take.php +++ b/src/Psl/Vec/take.php @@ -9,7 +9,7 @@ * * Examples: * - * Vec\drop([1, 2, 3, 4], 2) + * Vec\take([1, 2, 3, 4], 2) * => Vec(1, 2) * * @template T