Passed
Pull Request — master (#5)
by Joseph
02:03
created

Helpers::close()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
/**
3
 * This file is part of the Subway WordPress Plugin Package.
4
 *
5
 * (c) Joseph Gabito <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 *
10
 * @package Subway
11
 */
12
13
namespace Subway;
14
15
if ( ! defined( 'ABSPATH' ) ) {
16
	return;
17
}
18
19
/**
20
 * Helper methods for Subway
21
 *
22
 * @since  1.0
23
 */
24
final class Helpers {
25
26
	/**
27
	 * Exit wrapper.
28
	 * 
29
	 * @return void
30
	 */
31
	public static function close() {
32
		exit;
33
	}
34
}