Skip to content

Commit 0dec941

Browse files
committed
2 parents 028b970 + 191199d commit 0dec941

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)