File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public function remove(mixed $element): bool;
8989 * @param string $propertyOrMethod The name of the property, method, or
9090 * array key to evaluate and return.
9191 *
92- * @return array<int, mixed >
92+ * @return list<T >
9393 *
9494 * @throws InvalidPropertyOrMethod if the $propertyOrMethod does not exist
9595 * on the elements in this collection.
Original file line number Diff line number Diff line change 2222assertType ('Ramsey\Collection\Collection<Ramsey\Collection\Test\Mock\Person> ' , $ morePersons );
2323
2424assertType (Person::class, $ persons [0 ]);
25- assertType ('array<int, mixed > ' , $ persons ->column ('name ' ));
25+ assertType ('list<Ramsey\Collection\Test\Mock\Person > ' , $ persons ->column ('name ' ));
2626assertType (Person::class, $ persons ->first ());
2727assertType (Person::class, $ persons ->last ());
2828assertType (Person::class, $ persons ->offsetGet (0 ));
Original file line number Diff line number Diff line change 2222assertType ('Ramsey\Collection\Set<Ramsey\Collection\Test\Mock\Person> ' , $ morePersons );
2323
2424assertType (Person::class, $ persons [0 ]);
25- assertType ('array<int, mixed > ' , $ persons ->column ('name ' ));
25+ assertType ('list<Ramsey\Collection\Test\Mock\Person > ' , $ persons ->column ('name ' ));
2626assertType (Person::class, $ persons ->first ());
2727assertType (Person::class, $ persons ->last ());
2828assertType (Person::class, $ persons ->offsetGet (0 ));
You can’t perform that action at this time.
0 commit comments