Commit 9db9adcf by Alexander Makarov

switch style update

parent 083ca919
...@@ -227,6 +227,7 @@ switch ($this->phpType) { ...@@ -227,6 +227,7 @@ switch ($this->phpType) {
$a = (string)$value; $a = (string)$value;
break; break;
case 'integer': case 'integer':
case 'int':
$a = (integer)$value; $a = (integer)$value;
break; break;
case 'boolean': case 'boolean':
...@@ -234,12 +235,9 @@ switch ($this->phpType) { ...@@ -234,12 +235,9 @@ switch ($this->phpType) {
break; break;
default: default:
$a = null; $a = null;
break;
} }
~~~ ~~~
Do not omit `break`.
### Code documentation ### Code documentation
- Refer ot [phpDoc](http://phpdoc.org/) for documentation syntax. - Refer ot [phpDoc](http://phpdoc.org/) for documentation syntax.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment