Skip to content

Commit 6fc1e49

Browse files
authored
Merge pull request #1215 from crstauf/phpcs/cleanup
PHPCS: More cleanup
2 parents 72db3da + 99b57a7 commit 6fc1e49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/phpunit/jobstore/AbstractStoreTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function test_has_pending_actions_due() {
132132
// Some past actions, some future actions.
133133
$time = as_get_datetime_object( $i . ' hours' );
134134
$schedule = new ActionScheduler_SimpleSchedule( $time );
135-
$action = new ActionScheduler_Action( ActionScheduler_Callbacks::HOOK_WITH_CALLBACK, [ $i ], $schedule, 'my_group' );
135+
$action = new ActionScheduler_Action( ActionScheduler_Callbacks::HOOK_WITH_CALLBACK, array( $i ), $schedule, 'my_group' );
136136

137137
$store->save_action( $action );
138138
}
@@ -154,7 +154,7 @@ public function test_has_pending_actions_due_only_future_actions() {
154154
// Only future actions.
155155
$time = as_get_datetime_object( $i . ' hours' );
156156
$schedule = new ActionScheduler_SimpleSchedule( $time );
157-
$action = new ActionScheduler_Action( ActionScheduler_Callbacks::HOOK_WITH_CALLBACK, [ $i ], $schedule, 'my_group' );
157+
$action = new ActionScheduler_Action( ActionScheduler_Callbacks::HOOK_WITH_CALLBACK, array( $i ), $schedule, 'my_group' );
158158

159159
$store->save_action( $action );
160160
}

0 commit comments

Comments
 (0)