Passed
Push — master ( 160605...04f065 )
by Paul
06:55 queued 04:05
created
src/Controller.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,9 @@  discard block
 block discarded – undo
40 40
 	 */
41 41
 	public function filterWordPressFooter( $text )
42 42
 	{
43
-		if( $this->app->config->remove_wordpress_footer )return;
43
+		if( $this->app->config->remove_wordpress_footer ) {
44
+			return;
45
+		}
44 46
 		return $text;
45 47
 	}
46 48
 
@@ -79,7 +81,9 @@  discard block
 block discarded – undo
79 81
 	 */
80 82
 	public function removeDashboardWidgets()
81 83
 	{
82
-		if( !$this->app->config->remove_dashboard_widgets )return;
84
+		if( !$this->app->config->remove_dashboard_widgets ) {
85
+			return;
86
+		}
83 87
 		$widgets = apply_filters( 'pollux/dashoard/widgets', [
84 88
 			'dashboard_primary',
85 89
 			'dashboard_quick_press',
@@ -95,7 +99,9 @@  discard block
 block discarded – undo
95 99
 	 */
96 100
 	public function removeWordPressMenu()
97 101
 	{
98
-		if( !$this->app->config->remove_wordpress_menu )return;
102
+		if( !$this->app->config->remove_wordpress_menu ) {
103
+			return;
104
+		}
99 105
 		global $wp_admin_bar;
100 106
 		$wp_admin_bar->remove_menu( 'wp-logo' );
101 107
 	}
Please login to merge, or discard this patch.