mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
Fix class name conflict.
This commit is contained in:
parent
eef16ec8cc
commit
a4ccc020e7
|
@ -2,7 +2,7 @@
|
|||
|
||||
use Illuminate\Database\Eloquent\ScopeInterface;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Model as Eloquent;
|
||||
|
||||
class RegisteredTypesScope implements ScopeInterface
|
||||
{
|
||||
|
@ -34,7 +34,7 @@ class RegisteredTypesScope implements ScopeInterface
|
|||
* @param \Illuminate\Database\Eloquent\Model $model
|
||||
* @return void
|
||||
*/
|
||||
public function apply(Builder $builder, Model $model)
|
||||
public function apply(Builder $builder, Eloquent $model)
|
||||
{
|
||||
$query = $builder->getQuery();
|
||||
|
||||
|
@ -53,7 +53,7 @@ class RegisteredTypesScope implements ScopeInterface
|
|||
* @param \Illuminate\Database\Eloquent\Model $model
|
||||
* @return void
|
||||
*/
|
||||
public function remove(Builder $builder, Model $model)
|
||||
public function remove(Builder $builder, Eloquent $model)
|
||||
{
|
||||
$query = $builder->getQuery();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user