Skip to content

Commit 191199d

Browse files
aliborigithub-actions[bot]
authored andcommitted
Fix styling
1 parent e3a0c0b commit 191199d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/GenerateApiResourceCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ protected function buildResource(string $name): string
198198
foreach ($properties as $property) {
199199
$array_key = $property;
200200

201-
if ($this->return_case === 'camelCase') {
201+
if ('camelCase' === $this->return_case) {
202202
$array_key = Str::camel($property);
203203
}
204204

0 commit comments

Comments
 (0)