| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class TaxOption extends BaseModel |
||
| 9 | { |
||
| 10 | use LogsActivity; |
||
| 11 | protected $table = 'tax_rules'; |
||
| 12 | protected static $logName = 'Tax Class'; |
||
| 13 | protected static $logAttributes = ['tax_enable', 'inclusive', 'shop_inclusive', 'cart_inclusive', 'rounding', 'Gst_no']; |
||
| 14 | protected static $logOnlyDirty = true; |
||
| 15 | protected $fillable = ['tax_enable', 'inclusive', 'shop_inclusive', 'cart_inclusive', 'rounding', 'Gst_no']; |
||
| 16 | |||
| 17 | |||
| 18 | public function getDescriptionForEvent(string $eventName): string |
||
| 33 | } |
||
| 34 | } |
Checks if undeclared accessed properties appear in database migrations and if the creating migration is correct.