Skip to content

Commit 28fcf77

Browse files
Merge pull request #535 from appwrite/fix-php-string-param-syntax
Fix PHP param syntax
2 parents 805d8ff + 0094270 commit 28fcf77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/SDK/Language/PHP.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ public function getTypeName(array $parameter): string
238238
{
239239
switch ($parameter['type']) {
240240
case self::TYPE_STRING:
241-
return 'string';
241+
$type = 'string';
242+
break;
242243
case self::TYPE_BOOLEAN:
243244
$type = 'bool';
244245
break;

0 commit comments

Comments
 (0)