Searched refs:operation (Results 1 – 2 of 2) sorted by relevance
41 private $operation; variable in App\\Utils\\Captcha82 public function setOperation(string $operation): void argument84 $this->operation = in_array($operation, self::OPERATIONS) ? $operation : 'addition';94 $symbol = array_search($this->operation, self::OPERATIONS);107 return \call_user_func([Captcha::class, $this->operation], $this->first, $this->last);120 if ($this->operation === 'subtraction') {
21 …public function testGetQuestion(int $first, int $last, string $operation, string $question, int $e… argument25 $this->captcha->setOperation($operation);
Completed in 6 milliseconds