NFC cleanup docblocks in CRM_Utils_JS
authorColeman Watts <coleman@civicrm.org>
Tue, 30 Jun 2020 00:22:58 +0000 (20:22 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 30 Jun 2020 00:22:58 +0000 (20:22 -0400)
CRM/Utils/JS.php

index 192a25ad09a31248773730b73d5567ae4bcdd721..0b46737714168ed50ccaa1539029299af5570177 100644 (file)
@@ -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);