Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dmason30 committed Oct 5, 2023
1 parent d29cb62 commit 8b67f23
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Collections/UnusedFieldCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class UnusedFieldCollection extends Collection implements UnusedFieldCollectionContract
{
public function enabled(): static
public function enabled(): self
{
return $this->filter()->keys();
}
Expand Down
2 changes: 1 addition & 1 deletion src/Collections/UnusedResultCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class UnusedResultCollection extends Collection implements UnusedResultCollectionContract
{
public function addUnusedLanguageKey(string $lang, string $namespace, string $key, ?string $value): static
public function addUnusedLanguageKey(string $lang, string $namespace, string $key, ?string $value): self
{
return $this->push([
'lang' => $lang,
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Collections/UnusedFieldCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

interface UnusedFieldCollection extends Arrayable, Enumerable
{
public function enabled(): static;
public function enabled(): self;

public function headers(): array;
}
2 changes: 1 addition & 1 deletion src/Contracts/Collections/UnusedResultCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

interface UnusedResultCollection extends Arrayable, Enumerable
{
public function addUnusedLanguageKey(string $lang, string $namespace, string $key, ?string $value): static;
public function addUnusedLanguageKey(string $lang, string $namespace, string $key, ?string $value): self;

public function toCommandTableOutputArray(UnusedFieldCollectionContract $fields): array;
}
2 changes: 1 addition & 1 deletion src/Linters/UnusedTranslationLinter.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function execute(): Collection
return new Collection($unusedStrings);
}

public function withLanguages(array $languages): static
public function withLanguages(array $languages): self
{
$this->languages = $languages;

Expand Down

0 comments on commit 8b67f23

Please sign in to comment.