Skip to content
This repository was archived by the owner on Apr 19, 2022. It is now read-only.

Commit 7e57d7e

Browse files
Big-Sharkjhaoda
authored andcommitted
Базовую модель наследуем от фасада, а не его алиаса (#5)
1 parent 2863f3d commit 7e57d7e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/Core/Eloquent/Model.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
namespace App\Core\Eloquent;
44

5-
abstract class Model extends \Eloquent
5+
use Illuminate\Database\Eloquent\Model as Eloquent;
6+
7+
abstract class Model extends Eloquent
68
{
79
public static function getTableName()
810
{

0 commit comments

Comments
 (0)