Skip to content

Commit

Permalink
Update code-style 💻
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Feb 19, 2023
1 parent 45c79f1 commit 2f15e71
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Objects/Translatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ protected function extract(string $value): void
{
Str::of($value)
->matchAll('/:\w+/')
->tap(fn (string $match) => $this->keyable($match));;
->tap(fn (string $match) => $this->keyable($match));
}

protected function keyable(string $value): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Commands/Translate/PerLocaleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function testJson(): void
'Foo' => 'Foo',
'Bar.' => 'Bar.',

'Uploading files... (:current/:total)' => 'Uploading files... (:current/:total)',
'Uploading files... (:current/:total)' => 'Uploading files... (:current/:total)',
], 'locales/fr/json.json', __FUNCTION__);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Commands/Translate/SpanishTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SpanishTest extends Base
public function testJson(): void
{
$this->assertJsonFileEqualsJson([
'Added.' => 'Agregado.',
'Added.' => 'Agregado.',
'Administrator' => 'Administrator',

'Uploading files... (:current/:total)' => 'Subiendo archivos... (:current/:total)',
Expand Down

0 comments on commit 2f15e71

Please sign in to comment.