Skip to content

Commit 980a717

Browse files
committed
rector fixes
1 parent c40a773 commit 980a717

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

src/Forms/Component/Translations.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ public function getChildComponentsByLocale(string $locale): array
248248
]);
249249
}
250250

251+
#[\Override]
251252
public function getActiveTab(): int
252253
{
253254
if ($this->isTabPersistedInQueryString()) {
@@ -399,6 +400,7 @@ protected function prepareTranslateLocaleComponent(Component | Htmlable | string
399400
/**
400401
* @return array<mixed>
401402
*/
403+
#[\Override]
402404
protected function resolveDefaultClosureDependencyForEvaluationByName(string $parameterName): array
403405
{
404406
if ($parameterName === 'locales') {

tests/src/DatabaseTestCase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class DatabaseTestCase extends TestCase
99
{
1010
use RefreshDatabase;
1111

12+
#[\Override]
1213
protected function getPackageProviders($app): array
1314
{
1415
return [
@@ -17,6 +18,7 @@ protected function getPackageProviders($app): array
1718
];
1819
}
1920

21+
#[\Override]
2022
public function getEnvironmentSetUp($app): void
2123
{
2224
parent::getEnvironmentSetUp($app);

tests/src/Forms/Fixtures/AstrotomicPostFormComponent.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class AstrotomicPostFormComponent extends Livewire
1414
{
1515
public ?AstrotomicPost $record = null;
1616

17+
#[\Override]
1718
public function mount(?AstrotomicPost $record = null): void
1819
{
1920
$this->record = $record ?? new AstrotomicPost;

tests/src/Forms/Fixtures/SpatiePostFormComponent.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class SpatiePostFormComponent extends Livewire
1414
{
1515
public ?SpatiePost $record = null;
1616

17+
#[\Override]
1718
public function mount(?SpatiePost $record = null): void
1819
{
1920
$this->record = $record ?? new SpatiePost;

0 commit comments

Comments
 (0)