mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 12:26:30 +00:00
code style
This commit is contained in:
+2
-2
@@ -622,7 +622,7 @@ static int twig_add_method_to_class(void *pDest TSRMLS_DC, int num_args, va_list
|
|||||||
size_t item_len;
|
size_t item_len;
|
||||||
zend_function *mptr = (zend_function *) pDest;
|
zend_function *mptr = (zend_function *) pDest;
|
||||||
|
|
||||||
if ( ! (mptr->common.fn_flags & ZEND_ACC_PUBLIC ) ) {
|
if (!(mptr->common.fn_flags & ZEND_ACC_PUBLIC)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -644,7 +644,7 @@ static int twig_add_property_to_class(void *pDest TSRMLS_DC, int num_args, va_li
|
|||||||
char *class_name, *prop_name;
|
char *class_name, *prop_name;
|
||||||
zend_property_info *pptr = (zend_property_info *) pDest;
|
zend_property_info *pptr = (zend_property_info *) pDest;
|
||||||
|
|
||||||
if ( ! (pptr->flags & ZEND_ACC_PUBLIC ) ) {
|
if (!(pptr->flags & ZEND_ACC_PUBLIC)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user