INFRA-132 - CRM/Core - phpcbf
[civicrm-core.git] / CRM / Core / BAO / CustomOption.php
index 2dd00e5ae0e626822f53dd880d93c8e7a53b9db7..179abf99abe17346112427941f21f192bde8ea2b 100644 (file)
@@ -65,7 +65,7 @@ class CRM_Core_BAO_CustomOption {
    *
    * @param int $fieldID
    *   Field whose options are needed.
-   * @param boolean $inactiveNeeded
+   * @param bool $inactiveNeededDo we need inactive options ?.
    *   Do we need inactive options ?.
    *
    * @return array $customOption all active options for fieldId
@@ -271,7 +271,8 @@ WHERE  id = %2";
           $query     = "
 UPDATE {$dao->tableName}
 SET    {$dao->columnName} = REPLACE( {$dao->columnName}, %1, %2 )";
-          $queryParams = array(1 => array($oldString, 'String'),
+          $queryParams = array(
+          1 => array($oldString, 'String'),
             2 => array($newString, 'String'),
           );
           break;