PluginProbe
Image Optimizer – Compress Images and Convert to WebP or AVIF / trunk
Image Optimizer – Compress Images and Convert to WebP or AVIF vtrunk
1.7.7 1.7.6 1.7.5 1.7.4 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.3.0 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 All 33 releases
← All changes | vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php +7 -7 1.6.5 → trunk View file →
@@ -7,19 +7,19 @@
7 7
8 8 /**
9 9 * Return stored actions for given params.
10 10 *
11 - * @param string $status The action's status in the data store.
12 - * @param string $hook The hook to trigger when this action runs.
13 - * @param array $args Args to pass to callbacks when the hook is triggered.
14 - * @param ActionScheduler_Schedule|null $schedule The action's schedule.
15 - * @param string $group A group to put the action in.
11 + * @param string $status The action's status in the data store.
12 + * @param string $hook The hook to trigger when this action runs.
13 + * @param array $args Args to pass to callbacks when the hook is triggered.
14 + * @param ActionScheduler_Schedule $schedule The action's schedule.
15 + * @param string $group A group to put the action in.
16 16 * phpcs:ignore Squiz.Commenting.FunctionComment.ExtraParamComment
17 - * @param int $priority The action priority.
17 + * @param int $priority The action priority.
18 18 *
19 19 * @return ActionScheduler_Action An instance of the stored action.
20 20 */
21 - public function get_stored_action( $status, $hook, array $args = array(), ?ActionScheduler_Schedule $schedule = null, $group = '' ) {
21 + public function get_stored_action( $status, $hook, array $args = array(), ActionScheduler_Schedule $schedule = null, $group = '' ) {
22 22 // The 6th parameter ($priority) is not formally declared in the method signature to maintain compatibility with
23 23 // third-party subclasses created before this param was added.
24 24 $priority = func_num_args() >= 6 ? (int) func_get_arg( 5 ) : 10;
25 25