Skip to content

Commit c442adb

Browse files
committed
README updated
1 parent 98c0e9b commit c442adb

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -307,15 +307,7 @@ use Orkhanahmadov\EloquentRepository\EloquentRepository;
307307

308308
class UserRepository extends EloquentRepository implements Cacheable
309309
{
310-
/**
311-
* Defines entity.
312-
*
313-
* @return mixed
314-
*/
315-
protected function entity()
316-
{
317-
return User::class;
318-
}
310+
protected $entity = User::class;
319311
}
320312
```
321313

0 commit comments

Comments
 (0)