Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
hailwood authored and github-actions[bot] committed Jun 21, 2024
1 parent 82892cc commit ba70288
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/AttributeNameFormatters/AsWritten.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

namespace Webfox\InertiaDataProviders\AttributeNameFormatters;

use Illuminate\Support\Str;

class AsWritten implements AttributeNameFormatter
{
public function __invoke(string $name): string
{
return $name;
}
}
}
2 changes: 1 addition & 1 deletion src/AttributeNameFormatters/AttributeNameFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
interface AttributeNameFormatter
{
public function __invoke(string $name): string;
}
}
2 changes: 1 addition & 1 deletion src/AttributeNameFormatters/CamelCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public function __invoke(string $name): string
{
return Str::of($name)->camel()->toString();
}
}
}
2 changes: 1 addition & 1 deletion src/AttributeNameFormatters/SnakeCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public function __invoke(string $name): string
{
return Str::of($name)->snake()->toString();
}
}
}

0 comments on commit ba70288

Please sign in to comment.