Skip to content

Commit dfe1733

Browse files
committed
fixing phpcs for ActionScheduler_Schedule_Deprecated
1 parent 00af755 commit dfe1733

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deprecated/ActionScheduler_Schedule_Deprecated.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ abstract class ActionScheduler_Schedule_Deprecated implements ActionScheduler_Sc
99
* Get the date & time this schedule was created to run, or calculate when it should be run
1010
* after a given date & time.
1111
*
12-
* @param DateTime $after
12+
* @param DateTime $after DateTime to calculate against.
1313
*
1414
* @return DateTime|null
1515
*/
16-
public function next( DateTime $after = NULL ) {
16+
public function next( DateTime $after = null ) {
1717
if ( empty( $after ) ) {
1818
$return_value = $this->get_date();
1919
$replacement_method = 'get_date()';
@@ -22,7 +22,7 @@ public function next( DateTime $after = NULL ) {
2222
$replacement_method = 'get_next( $after )';
2323
}
2424

25-
_deprecated_function( __METHOD__, '3.0.0', __CLASS__ . '::' . $replacement_method );
25+
_deprecated_function( __METHOD__, '3.0.0', __CLASS__ . '::' . $replacement_method ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
2626

2727
return $return_value;
2828
}

0 commit comments

Comments
 (0)