mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Implemented getChoices and getValues from Doctrine ENUM on the right way
This commit is contained in:
@@ -47,8 +47,8 @@ final class RightLayerCombinationService implements RightLayerCombinationService
|
||||
|
||||
private function setCombination(): void
|
||||
{
|
||||
foreach (LayerType::getChoices() as $layer) {
|
||||
foreach (CRUDType::getChoices() as $crud) {
|
||||
foreach (LayerType::getValues() as $layer) {
|
||||
foreach (CRUDType::getValues() as $crud) {
|
||||
if (!array_key_exists($layer, $this->possibleCombinations)) {
|
||||
$this->possibleCombinations[$layer] = [];
|
||||
}
|
||||
|
@@ -15,7 +15,7 @@ interface RightLayerCombinationServiceInterface
|
||||
/**
|
||||
* For layer parameter see:.
|
||||
*
|
||||
* @see LayerType::getChoices()
|
||||
* @see LayerType::getValues()
|
||||
*
|
||||
* @param string $layer
|
||||
*
|
||||
@@ -26,7 +26,7 @@ interface RightLayerCombinationServiceInterface
|
||||
/**
|
||||
* For layer parameter see:.
|
||||
*
|
||||
* @see CRUDType::getChoices()
|
||||
* @see CRUDType::getValues()
|
||||
*
|
||||
* @param string $crud
|
||||
*
|
||||
|
Reference in New Issue
Block a user