diff --git a/core/modules/aggregator/aggregator.module b/core/modules/aggregator/aggregator.module index 60e1d4a..a46971e 100644 --- a/core/modules/aggregator/aggregator.module +++ b/core/modules/aggregator/aggregator.module @@ -448,14 +448,14 @@ function aggregator_feed_load($fid) { * @param $cid * The category id. * - * @return - * An associative array describing the category. + * @return stdClass|null + * An object containing all category properties. * * @deprecated Use Drupal\aggregator\CategoryStorageControllerInterface::load() * instead. */ function aggregator_category_load($cid) { - return (array) Drupal::service('aggregator.category.storage')->load($cid); + return Drupal::service('aggregator.category.storage')->load($cid); } /**