controller refactoring part 1

This commit is contained in:
Peter Papp
2021-07-20 08:58:20 +02:00
parent 29d1b68dd5
commit d6db2f3a7c
25 changed files with 717 additions and 546 deletions

View File

@@ -5,6 +5,9 @@ use Illuminate\Support\Str;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
/**
* @method static whereYear(string $string, string $string1, int $year)
*/
class Traffic extends Model
{
use HasFactory;
@@ -19,9 +22,6 @@ class Traffic extends Model
protected $keyType = 'string';
/**
* Model events
*/
protected static function boot()
{
parent::boot();