mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Refactored function
This commit is contained in:
@@ -18,7 +18,7 @@ use App\Exception\NotProcessedException;
|
||||
* @ORM\DiscriminatorColumn(name="discr", type="string")
|
||||
* @ORM\DiscriminatorMap({"and" = "AndOperation"})
|
||||
*/
|
||||
abstract class AbstractOperation extends AbstractSource implements OperandInterface
|
||||
abstract class AbstractOperation extends AbstractSource implements OperationInterface
|
||||
{
|
||||
use OperandsAttribut;
|
||||
|
||||
@@ -47,9 +47,4 @@ abstract class AbstractOperation extends AbstractSource implements OperandInterf
|
||||
}
|
||||
throw new NotProcessedException('No result was generated!');
|
||||
}
|
||||
|
||||
public function setOperators(ArrayCollection $operands): void
|
||||
{
|
||||
$this->operands = $operands;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user