From 4cc44fa2ae1e493113e1f71e7e4efeecefb63f50 Mon Sep 17 00:00:00 2001 From: Ashley Rich Date: Fri, 20 Apr 2018 11:24:04 +0100 Subject: [PATCH] Formatting fixes --- src/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/functions.php b/src/functions.php index 7ab647e..37c8231 100644 --- a/src/functions.php +++ b/src/functions.php @@ -7,12 +7,12 @@ /** * Return Queue instance. * - * @param string|null $connection + * @param string $connection * * @return Queue */ - function wp_queue( $connection = null ) { - if(is_null($connection)) { + function wp_queue( $connection = '' ) { + if( empty( $connection ) ) { $connection = apply_filters( 'wp_queue_default_connection', 'database' ); }