From 779f8acff12d0497e69bb3fc483b089a425a1af1 Mon Sep 17 00:00:00 2001 From: Slobodan Alavanja Date: Wed, 3 Jun 2020 16:16:15 +0200 Subject: [PATCH] Use return type declaration in nrlb_branding() function --- nrlb-branding.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nrlb-branding.php b/nrlb-branding.php index 397238f..bfa0f33 100644 --- a/nrlb-branding.php +++ b/nrlb-branding.php @@ -23,9 +23,9 @@ /** * Init the plugin. * - * @return object Instance of NRLB_Branding class. + * @return NRLB_Branding Instance of NRLB_Branding class. */ -function nrlb_branding() { +function nrlb_branding() : NRLB_Branding { return NRLB_Branding::get_instance(); }