Showing 5 of 25 total issues
Avoid too many return
statements within this method. Open
return $value != $operand;
- Create a ticketCreate a ticket
Avoid too many return
statements within this method. Open
return $value < $operand;
- Create a ticketCreate a ticket
Function assure
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
public function assure(&$value) { if (!$value) { throw new \InvalidArgumentException('Empty array'); }
- Read upRead up
- Create a ticketCreate a ticket
Function assure
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
public function assure(&$value) { if (!$value) { throw new \InvalidArgumentException('Empty value given'); }
- Read upRead up
- Create a ticketCreate a ticket
Function assure
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
function assure(&$value, $assures) { static $instances = []; $assures = (array)$assures;
- Read upRead up
- Create a ticketCreate a ticket