Add some PHP 8.3-only features.

This commit is contained in:
James Cole
2023-12-02 12:56:48 +01:00
parent 2b0a3ec818
commit b02a61dfbd
54 changed files with 350 additions and 348 deletions

View File

@@ -69,9 +69,9 @@ class AutoBudget extends Model
use ReturnsIntegerIdTrait;
use SoftDeletes;
public const AUTO_BUDGET_ADJUSTED = 3;
public const AUTO_BUDGET_RESET = 1;
public const AUTO_BUDGET_ROLLOVER = 2;
public const int AUTO_BUDGET_ADJUSTED = 3;
public const int AUTO_BUDGET_RESET = 1;
public const int AUTO_BUDGET_ROLLOVER = 2;
protected $fillable = ['budget_id', 'amount', 'period'];
/**