Skip to content

Commit 0538661

Browse files
authored
Merge pull request #124 from theodorejb/switch-case
Fix inconsistent switch case syntax
2 parents e504802 + cb5620e commit 0538661

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

debugger/action.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@
409409
switch($type) {
410410
case 'undefined':
411411
break;
412-
case 'null';
412+
case 'null':
413413
$type = 'nil';
414414
// fall thru intentionally
415415
default:

src/Wrapper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function php2XmlrpcType($phpType)
6666
case 'true':
6767
return Value::$xmlrpcBoolean;
6868
case Value::$xmlrpcArray: // 'array':
69-
case 'array[]';
69+
case 'array[]':
7070
return Value::$xmlrpcArray;
7171
case 'object':
7272
case Value::$xmlrpcStruct: // 'struct'

0 commit comments

Comments
 (0)