@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | */ |
21 | 21 | public function __construct() { |
22 | 22 | |
23 | - add_filter( 'gravityview_blacklist_field_types', array( $this, 'blacklist_field_types' ), 10, 2 ); |
|
23 | + add_filter('gravityview_blacklist_field_types', array($this, 'blacklist_field_types'), 10, 2); |
|
24 | 24 | |
25 | 25 | parent::__construct(); |
26 | 26 | } |
@@ -32,10 +32,10 @@ discard block |
||
32 | 32 | * |
33 | 33 | * @return array Field types with calculation added, if not Edit Entry context |
34 | 34 | */ |
35 | - public function blacklist_field_types( $field_types = array(), $context = '' ) { |
|
35 | + public function blacklist_field_types($field_types = array(), $context = '') { |
|
36 | 36 | |
37 | 37 | // Allow Calculation field in Edit Entry |
38 | - if( 'edit' !== $context ) { |
|
38 | + if ('edit' !== $context) { |
|
39 | 39 | $field_types[] = $this->name; |
40 | 40 | } |
41 | 41 |