From 82bdd43168e548396d95038d081f330e4060d3d6 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Wed, 24 Sep 2025 15:38:30 -0700 Subject: [PATCH] renamed variable --- database/factories/CheckoutAcceptanceFactory.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/database/factories/CheckoutAcceptanceFactory.php b/database/factories/CheckoutAcceptanceFactory.php index b53885807f..1cd139176e 100644 --- a/database/factories/CheckoutAcceptanceFactory.php +++ b/database/factories/CheckoutAcceptanceFactory.php @@ -23,23 +23,23 @@ class CheckoutAcceptanceFactory extends Factory 'assigned_to_id' => User::factory(), ]; } - protected static bool $skipAutoAssign = false; + protected static bool $skipActionLog = false; public function withoutActionLog(): static { // turn off for this create() call - static::$skipAutoAssign = true; + static::$skipActionLog = true; // ensure it turns back on AFTER creating return $this->afterCreating(function () { - static::$skipAutoAssign = false; + static::$skipActionLog = false; }); } public function configure(): static { return $this->afterCreating(function (CheckoutAcceptance $acceptance) { - if (static::$skipAutoAssign) { + if (static::$skipActionLog) { return; // short-circuit } if ($acceptance->checkoutable instanceof Asset) {