Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

TicketSolver.php 530B

pirms 3 gadiem
pirms 3 gadiem
1234567891011121314151617181920
  1. <?php
  2. namespace Lc\CaracoleBundle\Solver\Ticket;
  3. use Lc\CaracoleBundle\Model\Ticket\TicketModel;
  4. use Lc\SovBundle\Solver\Ticket\TicketSolver as SovTicketSolver;
  5. class TicketSolver extends SovTicketSolver
  6. {
  7. public function getTypeChoices($context = 'backend'): array
  8. {
  9. $choices = parent::getTypeChoices();
  10. $choicesProduct = [
  11. TicketModel::TYPE_PRODUCT_UNAVAILABLE,
  12. TicketModel::TYPE_PRODUCT_ERROR
  13. ];
  14. return array_merge($choices, $choicesProduct);
  15. }
  16. }