Skip to content

Commit

Permalink
fix p
Browse files Browse the repository at this point in the history
  • Loading branch information
akbarali1 committed Oct 23, 2024
1 parent 39b47ff commit 8535556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name":"akbarali/data-object",
"version":"2.7.6",
"version":"2.7.7",
"description":"Data Object PHP Laravel",
"license":"MIT",
"minimum-stability":"stable",
Expand Down
2 changes: 1 addition & 1 deletion src/DataObjectBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public function all(bool $trim_nulls = false): array
return $this->toArray($trim_nulls);
}

public static function arrayToClassProperty(array $array, bool $camelCase = false): string
public static function arrayToClassProperty(array $array, bool $camelCase = true): string
{
$string = '';
foreach ($array as $key => $value) {
Expand Down

0 comments on commit 8535556

Please sign in to comment.