Add DEFAULT const to MatchAgainst enum
This commit is contained in:
@@ -65,5 +65,5 @@ class MatchStrategyApiResource
|
||||
* - `budget_min` the minimum in the Project's budget
|
||||
* - `budget_opt` the optimum in the Project's budget.
|
||||
*/
|
||||
public MatchAgainst $match = MatchAgainst::Charge;
|
||||
public MatchAgainst $match = MatchAgainst::DEFAULT;
|
||||
}
|
||||
|
||||
@@ -7,6 +7,8 @@ namespace App\Entity\Matchfunding;
|
||||
*/
|
||||
enum MatchAgainst: string
|
||||
{
|
||||
public const DEFAULT = self::Charge;
|
||||
|
||||
/**
|
||||
* The money to be matched will be extracted from a Charge item.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user