Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
xBigDaddyx authored and github-actions[bot] committed Oct 14, 2023
1 parent 937a22e commit b857d93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/Listeners/CompletedCartonBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Carbon\Carbon;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Log;
use Teresa\CartonBoxGuard\Events\PolybagCreated;
use Teresa\CartonBoxGuard\Models\CartonBox;

Expand Down
9 changes: 5 additions & 4 deletions src/Models/CartonBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Facades\Auth;
use Teresa\CartonBoxGuard\Traits\HasStringId;
use Sfolador\Locked\Traits\HasLocks;
use Teresa\CartonBoxGuard\Traits\HasStringId;

class CartonBox extends Model
{
use HasLocks;
use HasStringId;
use SoftDeletes;
use HasLocks;

protected $primary = 'id';

protected $keyType = 'string';
Expand All @@ -32,11 +33,11 @@ public function prefixable(): array

public function __construct(array $attributes = [])
{
if (!isset($this->connection)) {
if (! isset($this->connection)) {
$this->setConnection(config('carton-box-guard.database_connection'));
}

if (!isset($this->table)) {
if (! isset($this->table)) {
$this->setTable(config('carton-box-guard.carton.table_name'));
}

Expand Down

0 comments on commit b857d93

Please sign in to comment.