Skip to content

Commit

Permalink
fix phpcs issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Jan 28, 2025
1 parent 9088521 commit 4222465
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/includes/class-test-scheduler.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function test_reprocess_outbox() {
$scheduled_events = array();
add_filter(
'schedule_event',
function( $event ) use ( &$scheduled_events ) {
function ( $event ) use ( &$scheduled_events ) {
if ( 'activitypub_process_outbox' === $event->hook ) {
$scheduled_events[] = $event->args[0];
}
Expand Down Expand Up @@ -128,7 +128,7 @@ public function test_reprocess_outbox_no_pending() {
$scheduled_events = array();
add_filter(
'schedule_event',
function( $event ) use ( &$scheduled_events ) {
function ( $event ) use ( &$scheduled_events ) {
if ( 'activitypub_process_outbox' === $event->hook ) {
$scheduled_events[] = $event->args[0];
}
Expand Down Expand Up @@ -167,7 +167,7 @@ public function test_reprocess_outbox_scheduling() {
$scheduled_time = 0;
add_filter(
'schedule_event',
function( $event ) use ( &$scheduled_time ) {
function ( $event ) use ( &$scheduled_time ) {
if ( 'activitypub_process_outbox' === $event->hook ) {
$scheduled_time = $event->timestamp;
}
Expand Down

0 comments on commit 4222465

Please sign in to comment.