auctions_core_tools() service wrong return type and description

Created on 31 March 2025, 7 days ago

Problem/Motivation

The function auctions_core_tools() returns the \Drupal::service('auctions_core.tools') which is an instance of the class Drupal\auctions_core\Service\AuctionTools but the function return and descriptions is completlly diferent from what it should be

/**
 * Uses the 'auctions_core.tools' Service to get bids grouped by user.
 *
 * @return false|array
 *   An array containing bids grouped by user, or FALSE if there are no bids.
 */

This doesn't return an array of bids, it doesn't return an array at all.

Proposed resolution

Repalace the description and return types.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇵🇹Portugal kallado

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024