← All changes
|
vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_NullAction.php
+1
-1
1.5.3
→
trunk
View file →
| @@ -11,9 +11,9 @@ | ||
| 11 | 11 | * @param string $hook Action hook. |
| 12 | 12 | * @param mixed[] $args Action arguments. |
| 13 | 13 | * @param null|ActionScheduler_Schedule $schedule Action schedule. |
| 14 | 14 | */ |
| 15 | - public function __construct( $hook = '', array $args = array(), ActionScheduler_Schedule $schedule = NULL ) { | |
| 15 | + public function __construct( $hook = '', array $args = array(), ?ActionScheduler_Schedule $schedule = null ) { | |
| 16 | 16 | $this->set_schedule( new ActionScheduler_NullSchedule() ); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | /** |