mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 18:14:59 +00:00
More doc for CalculatorInterface
This commit is contained in:
@@ -12,11 +12,13 @@ declare(strict_types=1);
|
|||||||
namespace Chill\BudgetBundle\Calculator;
|
namespace Chill\BudgetBundle\Calculator;
|
||||||
|
|
||||||
use Chill\BudgetBundle\Entity\AbstractElement;
|
use Chill\BudgetBundle\Entity\AbstractElement;
|
||||||
|
use Chill\BudgetBundle\Entity\Charge;
|
||||||
|
use Chill\BudgetBundle\Entity\Resource;
|
||||||
|
|
||||||
interface CalculatorInterface
|
interface CalculatorInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @param AbstractElement[] $elements
|
* @param array<Charge|Resource> $elements
|
||||||
*/
|
*/
|
||||||
public function calculate(array $elements): ?CalculatorResult;
|
public function calculate(array $elements): ?CalculatorResult;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user