Skip to content

Commit a960e77

Browse files
committed
[PHP] - Removes trailing comma from ::flattenArray()
1 parent 22b6787 commit a960e77

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

modules/openapi-generator/src/main/resources/php/ObjectSerializer.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ class ObjectSerializer
630630
private static function flattenArray(
631631
mixed $source,
632632
array &$destination,
633-
string $start = '',
633+
string $start = ''
634634
) {
635635
$opt = [
636636
'prefix' => '[',

samples/client/petstore/php/OpenAPIClient-php/lib/ObjectSerializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ public static function buildQuery(array $params, $encoding = PHP_QUERY_RFC3986):
639639
private static function flattenArray(
640640
mixed $source,
641641
array &$destination,
642-
string $start = '',
642+
string $start = ''
643643
) {
644644
$opt = [
645645
'prefix' => '[',

samples/client/petstore/php/psr-18/lib/ObjectSerializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ public static function buildQuery(array $params, $encoding = PHP_QUERY_RFC3986):
639639
private static function flattenArray(
640640
mixed $source,
641641
array &$destination,
642-
string $start = '',
642+
string $start = ''
643643
) {
644644
$opt = [
645645
'prefix' => '[',

0 commit comments

Comments
 (0)