Skip to content

Commit

Permalink
composer format
Browse files Browse the repository at this point in the history
  • Loading branch information
alipadron authored and freekmurze committed Dec 9, 2024
1 parent 704c3d0 commit e9cd8ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TranslatableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ public function setAttributesExternally(array $attributes)
// we need to remove the name attribute from the translatable array
// and add it back to make sure the name
// attribute is holding `null` raw value
$this->testModel->translatable = array_filter($this->testModel->translatable, fn($attribute) => $attribute !== 'name');
$this->testModel->translatable = array_filter($this->testModel->translatable, fn ($attribute) => $attribute !== 'name');
$this->testModel->name = null;
$this->testModel->translatable = array_merge($this->testModel->translatable, ['name']);

Expand Down

0 comments on commit e9cd8ee

Please sign in to comment.