Skip to content

Commit 413bb9c

Browse files
committed
Fixed BaseRepository.
1 parent df0e40a commit 413bb9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Eloquent/BaseRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public function first($columns = ['*'])
220220
*
221221
* @return mixed
222222
*/
223-
public function findByField($attribute, $value, $columns = ['*'])
223+
public function findByAttribute($attribute, $value, $columns = ['*'])
224224
{
225225
$this->applyCriteria();
226226
$this->applyScope();

0 commit comments

Comments
 (0)