Update to Laravel 6

This commit is contained in:
Deon George
2020-01-11 13:36:11 +11:00
parent 8224fba840
commit c941fcb148
19 changed files with 1867 additions and 2161 deletions

View File

@@ -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()