@@ -26,7 +26,7 @@ |
||
26 | 26 | /** |
27 | 27 | * @since 1.0.0 |
28 | 28 | */ |
29 | - public function __construct( $slug ) { |
|
29 | + public function __construct($slug) { |
|
30 | 30 | |
31 | 31 | $this->slug = $slug; |
32 | 32 | } |
@@ -18,14 +18,14 @@ |
||
18 | 18 | * @since 1.0.0 |
19 | 19 | */ |
20 | 20 | public function get_title() { |
21 | - return __( 'Visit', 'wordpoints' ); |
|
21 | + return __('Visit', 'wordpoints'); |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @since 1.0.0 |
26 | 26 | */ |
27 | 27 | public function get_description() { |
28 | - return __( 'When a logged-in user or guest visits the site.', 'wordpoints' ); |
|
28 | + return __('When a logged-in user or guest visits the site.', 'wordpoints'); |
|
29 | 29 | } |
30 | 30 | } |
31 | 31 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * @param string $slug The event slug. |
19 | 19 | */ |
20 | - public function __construct( $slug ); |
|
20 | + public function __construct($slug); |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * Get the event slug. |
@@ -8,7 +8,7 @@ |
||
8 | 8 | */ |
9 | 9 | |
10 | 10 | interface WordPoints_Hook_Retroactive_Query_ModifierI { |
11 | - public function modify_retroactive_query( WordPoints_Hook_Retroactive_QueryI $query ); |
|
11 | + public function modify_retroactive_query(WordPoints_Hook_Retroactive_QueryI $query); |
|
12 | 12 | } |
13 | 13 | |
14 | 14 | // EOF |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | |
51 | 51 | interface WordPoints_Hook_Retroactive_QueryI { |
52 | 52 | |
53 | - public function __construct( WordPoints_Hook_ReactionI $reaction ); |
|
53 | + public function __construct(WordPoints_Hook_ReactionI $reaction); |
|
54 | 54 | |
55 | 55 | /** |
56 | 56 | * |
@@ -61,13 +61,13 @@ discard block |
||
61 | 61 | public function get_reaction(); |
62 | 62 | public function get_validator(); |
63 | 63 | |
64 | - public function arg_hierarchy_push( $slug ); |
|
64 | + public function arg_hierarchy_push($slug); |
|
65 | 65 | public function arg_hierarchy_pop(); |
66 | 66 | public function get_arg(); |
67 | 67 | |
68 | - public function set_target( $target_arg ); |
|
68 | + public function set_target($target_arg); |
|
69 | 69 | public function select_value(); |
70 | - public function add_condition( array $condition ); |
|
70 | + public function add_condition(array $condition); |
|
71 | 71 | |
72 | 72 | public function get_results(); |
73 | 73 | } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | /** |
27 | 27 | * @since 1.0.0 |
28 | 28 | */ |
29 | - public function __construct( $slug ) { |
|
29 | + public function __construct($slug) { |
|
30 | 30 | |
31 | 31 | $this->slug = $slug; |
32 | 32 | } |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * @since 1.0.0 |
34 | 34 | */ |
35 | 35 | public function get_title() { |
36 | - return __( 'Author', 'wordpoints' ); |
|
36 | + return __('Author', 'wordpoints'); |
|
37 | 37 | } |
38 | 38 | } |
39 | 39 |
@@ -19,11 +19,11 @@ |
||
19 | 19 | */ |
20 | 20 | public function should_fire() { |
21 | 21 | |
22 | - if ( ! isset( $this->args[1]->comment_approved ) ) { |
|
22 | + if ( ! isset($this->args[1]->comment_approved)) { |
|
23 | 23 | return false; |
24 | 24 | } |
25 | 25 | |
26 | - if ( 1 !== (int) $this->args[1]->comment_approved ) { |
|
26 | + if (1 !== (int) $this->args[1]->comment_approved) { |
|
27 | 27 | return false; |
28 | 28 | } |
29 | 29 |
@@ -12,17 +12,17 @@ |
||
12 | 12 | * |
13 | 13 | * @since 1.0.0 |
14 | 14 | */ |
15 | -require_once( dirname( __FILE__ ) . '/includes/functions.php' ); |
|
15 | +require_once(dirname(__FILE__).'/includes/functions.php'); |
|
16 | 16 | |
17 | 17 | /** |
18 | 18 | * The admin-side actions and filters. |
19 | 19 | * |
20 | 20 | * @since 1.0.0 |
21 | 21 | */ |
22 | -require_once( dirname( __FILE__ ) . '/includes/actions.php' ); |
|
22 | +require_once(dirname(__FILE__).'/includes/actions.php'); |
|
23 | 23 | |
24 | 24 | WordPoints_Class_Autoloader::register_dir( |
25 | - dirname( __FILE__ ) . '/includes/classes' |
|
25 | + dirname(__FILE__).'/includes/classes' |
|
26 | 26 | , 'WordPoints_Admin_' |
27 | 27 | ); |
28 | 28 |