Completed
Pull Request — master (#605)
by Zack
05:12
created
includes/fields/class-gravityview-field-calculation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.