From 956ac59b7350df8411254180c54c16ed965fd039 Mon Sep 17 00:00:00 2001 From: Dawid Libiszewski Date: Tue, 25 May 2021 17:01:14 +0200 Subject: [PATCH] doc up --- lib/Castle/Castle.php | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/lib/Castle/Castle.php b/lib/Castle/Castle.php index aadc25e..08aeec8 100755 --- a/lib/Castle/Castle.php +++ b/lib/Castle/Castle.php @@ -165,9 +165,8 @@ public static function track(Array $attributes) /** * Filter an action - * @param Array $attributes An array of attributes to filter. The 'name' key - * is required - * @return None + * @param String $attributes 'name', and 'user' object with 'id' are required + * @return Castle_Log */ public static function filter(Array $attributes) { @@ -178,9 +177,8 @@ public static function filter(Array $attributes) /** * Log events - * @param Array $attributes An array of attributes to track. The 'name' key - * is required - * @return None + * @param String $attributes 'name', 'status' and 'user' object with 'id' are required + * @return Castle_Log */ public static function log(Array $attributes) { @@ -191,9 +189,8 @@ public static function log(Array $attributes) /** * Risk - * @param Array $attributes An array of attributes to track. The 'name' key - * is required - * @return None + * @param String $attributes 'name', 'status' and 'user' object with 'id' are required + * @return Castle_Risk */ public static function risk(Array $attributes) {