Update to Laravel 6
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Arr;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class Site extends Model
|
||||
@@ -72,7 +73,7 @@ class Site extends Model
|
||||
'top_menu' => [],
|
||||
];
|
||||
|
||||
return array_get($default,$key);
|
||||
return Arr::get($default,$key);
|
||||
}
|
||||
|
||||
public function getSiteLogoAttribute()
|
||||
@@ -264,7 +265,7 @@ class Site extends Model
|
||||
public function aboutus()
|
||||
{
|
||||
// @todo To be implemented
|
||||
return array_get($this->_sampledata(),'aboutus');
|
||||
return Arr::get($this->_sampledata(),'aboutus');
|
||||
}
|
||||
|
||||
private function _address()
|
||||
|
Reference in New Issue
Block a user