Passed
Push — develop ( 617375...46c5a8 )
by Paul
02:56
created
src/Helpers/Development.php 1 patch
Braces   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@  discard block
 block discarded – undo
4 4
 
5 5
 use GeminiLabs\Castor\Helpers\Utility;
6 6
 
7
-class Development
8
-{
7
+class Development {
9 8
 	public $templatePaths = [];
10 9
 
11 10
 	protected $utility;
@@ -45,13 +44,17 @@  discard block
 block discarded – undo
45 44
 	public function printFiltersFor( $hook = '' )
46 45
 	{
47 46
 		global $wp_filter;
48
-		if( empty( $hook ) || !isset( $wp_filter[$hook] ))return;
47
+		if( empty( $hook ) || !isset( $wp_filter[$hook] )) {
48
+			return;
49
+		}
49 50
 		$this->printF( $wp_filter[ $hook ] );
50 51
 	}
51 52
 
52 53
 	public function printTemplatePaths()
53 54
 	{
54
-		if( !$this->isDev() )return;
55
+		if( !$this->isDev() ) {
56
+			return;
57
+		}
55 58
 		$templates = array_map( function( $key, $value ) {
56 59
 			return sprintf( '[%s] => %s', $key, $value );
57 60
 		}, array_keys( $this->templatePaths ), $this->templatePaths );
Please login to merge, or discard this patch.