Skip to content

Commit

Permalink
Revert "Merge pull request #48228 from FrazerFlanagan/remove-unneeded…
Browse files Browse the repository at this point in the history
…-static-array-ret-type-from-db-eloquent-builder-get"

This reverts commit 86b76dc, reversing
changes made to c779c11.
  • Loading branch information
nunomaduro committed Aug 29, 2023
1 parent 86b76dc commit b40d6be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ public function valueOrFail($column)
* Execute the query as a "select" statement.
*
* @param array|string $columns
* @return \Illuminate\Database\Eloquent\Collection
* @return \Illuminate\Database\Eloquent\Collection|static[]
*/
public function get($columns = ['*'])
{
Expand Down

1 comment on commit b40d6be

@eusonlito
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @nunomaduro, some comment about this revert? Can the get method really return an array of objects? Thanks!

Please sign in to comment.