for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Fomvasss\Variable\Models;
use Illuminate\Database\Eloquent\Model;
class Variable extends Model
{
public $timestamps = false;
public $guarded = ['id'];
public function __construct(array $attributes = [])
parent::__construct($attributes);
$this->setTable(config('variables.table_name'));
config
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
$this->setTable(/** @scrutinizer ignore-call */ config('variables.table_name'));
}