Completed
Push — master ( cf0c7a...520b04 )
by Jacob
03:43
created

HuluCollector::getRow()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 5
rs 9.4286
cc 1
eloc 3
nc 1
nop 1
1
<?
0 ignored issues
show
Security Best Practice introduced by
It is not recommend to use PHP's short opening tag <?, better use <?php, or <?= in case of outputting.

Short opening tags are disabled in PHP’s default configuration. In such a case, all content of this file is output verbatim to the browser without being parsed, or executed.

As a precaution to avoid these problems better use the long opening tag <?php.

Loading history...
2
3
Loader::load('collector', 'Collector');
4
5
final class HuluCollector extends Collector
6
{
7
8
	public static function getRow($id)
9
	{
10
		$query = "SELECT * FROM `jpemeric_stream`.`hulu` WHERE `id` = '{$id}'";
11
		return self::run_row_query($query);
12
	}
13
14
}