Permalink
Browse files

code style

  • Loading branch information...
1 parent 50da1a2 commit c9203442c570a90ed20605d3856266ea30b8f0d4 @arnaud-lb arnaud-lb committed Dec 10, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 ext/twig/twig.c
View
@@ -622,7 +622,7 @@ static int twig_add_method_to_class(void *pDest TSRMLS_DC, int num_args, va_list
size_t item_len;
zend_function *mptr = (zend_function *) pDest;
- if ( ! (mptr->common.fn_flags & ZEND_ACC_PUBLIC ) ) {
+ if (!(mptr->common.fn_flags & ZEND_ACC_PUBLIC)) {
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;
zend_property_info *pptr = (zend_property_info *) pDest;
- if ( ! (pptr->flags & ZEND_ACC_PUBLIC ) ) {
+ if (!(pptr->flags & ZEND_ACC_PUBLIC)) {
return 0;
}

0 comments on commit c920344

Please sign in to comment.