You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
284B

  1. <?php
  2. namespace domain\User\UserProducer;
  3. use domain\_\AbstractSolver;
  4. class UserProducerSolver extends AbstractSolver
  5. {
  6. public function hasOutstandingCredit(UserProducer $userProducer): bool
  7. {
  8. return $userProducer->credit < 0 || $userProducer->credit > 0;
  9. }
  10. }