Completed
Push — master ( 92cdcd...79386d )
by Zack
20:40 queued 10:41
created

admin/class-gravityview-admin-view-widget.php (2 issues)

Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/**
3
 * @file class-gravityview-admin-view-widget.php
4
 * @since 1.17.3
5
 */
6
7
class GravityView_Admin_View_Widget extends GravityView_Admin_View_Item {
8
9
	protected $label_type = 'widget';
10
11
	protected function additional_info() {
12
13
		$field_info_items = array();
14
15
		if( !empty( $this->item['description'] ) ) {
0 ignored issues
show
Expected 1 space after "!"; 0 found
Loading history...
16
17
			$field_info_items[] = array(
18
				'value' => $this->item['description']
0 ignored issues
show
Each line in an array declaration must end in a comma
Loading history...
19
			);
20
21
		}
22
23
		return $field_info_items;
24
	}
25
26
}
27