Add space between foreach and ‘(‘
[MAILPOET-1791]
This commit is contained in:
@ -6,7 +6,7 @@ class InitializerTest extends \MailPoetTest {
|
||||
global $wp_filter;
|
||||
$is_hooked = false;
|
||||
// mailpoet should hook to 'wp_loaded' with priority of 10
|
||||
foreach($wp_filter['wp_loaded'][10] as $name => $hook) {
|
||||
foreach ($wp_filter['wp_loaded'][10] as $name => $hook) {
|
||||
if(preg_match('/postInitialize/', $name)) $is_hooked = true;
|
||||
}
|
||||
expect($is_hooked)->true();
|
||||
|
Reference in New Issue
Block a user