Fixed: fails to generate with resources

This commit is contained in:
Nikolay Zakharov
2015-12-11 17:18:14 +03:00
parent aec17e3327
commit 2fb1135fc5
+2
View File
@@ -270,6 +270,8 @@ class Method
$default = 'null';
} elseif (is_int($default)) {
//$default = $default;
} elseif (is_resource($default)) {
//skip to not fail
} else {
$default = "'" . trim($default) . "'";
}