APIv4 - add descriptions to sql functions
[civicrm-core.git] / Civi / Api4 / Query / SqlFunctionCURDATE.php
index f81993b53662a407401602c881b30426283ee2cc..951e4498c533395eafa6b3dfd73df1f1b6762638 100644 (file)
@@ -29,4 +29,11 @@ class SqlFunctionCURDATE extends SqlFunction {
     return ts('Now');
   }
 
+  /**
+   * @return string
+   */
+  public static function getDescription(): string {
+    return ts('The current date.');
+  }
+
 }