From 127d3501bbcef9f9fe262f8b4f87067a125ac9c8 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 29 Jun 2020 20:22:58 -0400 Subject: [PATCH] NFC cleanup docblocks in CRM_Utils_JS --- CRM/Utils/JS.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CRM/Utils/JS.php b/CRM/Utils/JS.php index 192a25ad09..0b46737714 100644 --- a/CRM/Utils/JS.php +++ b/CRM/Utils/JS.php @@ -62,7 +62,7 @@ class CRM_Utils_JS { * Ordered list of JS vars to identify the start of a closure. * @param array $inputVals * Ordered list of input values passed into the closure. - * @return string + * @return string[] * Javascript source. */ public static function dedupeClosures($scripts, $localVars, $inputVals) { @@ -126,6 +126,7 @@ class CRM_Utils_JS { * * @param string $js * @return mixed + * @throws Exception */ public static function decode($js) { $js = trim($js); @@ -189,7 +190,7 @@ class CRM_Utils_JS { * * @param $js * @return array - * @throws \Exception + * @throws Exception */ public static function getRawProps($js) { $js = trim($js); -- 2.25.1