@@ -788,7 +788,7 @@ |
||
788 | 788 | * In the above step 1 and 3, events named [[EVENT_BEFORE_DELETE]] and [[EVENT_AFTER_DELETE]] |
789 | 789 | * will be raised by the corresponding methods. |
790 | 790 | * |
791 | - * @return integer|false the number of rows deleted, or false if the deletion is unsuccessful for some reason. |
|
791 | + * @return boolean the number of rows deleted, or false if the deletion is unsuccessful for some reason. |
|
792 | 792 | * Note that it is possible the number of rows deleted is 0, even though the deletion execution is successful. |
793 | 793 | * @throws StaleObjectException if [[optimisticLock|optimistic locking]] is enabled and the data |
794 | 794 | * being deleted is outdated. |
@@ -60,7 +60,7 @@ |
||
60 | 60 | /** |
61 | 61 | * Invalidates all of the cached data items that are associated with any of the specified [[tags]]. |
62 | 62 | * @param Cache $cache the cache component that caches the data items |
63 | - * @param string|array $tags |
|
63 | + * @param string $tags |
|
64 | 64 | */ |
65 | 65 | public static function invalidate($cache, $tags) |
66 | 66 | { |