class/RoomChangeRequestStudentApprovalView.php
Method show
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function show()
{
$approveCmd = CommandFactory::getCommand('RoomChangeStudentApprove');
$approveCmd->setParticipantId($this->thisParticipant->getId());
$approveCmd->setRequestId($this->request->getId());
- Create a ticketCreate a ticket
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct(Student $student, RoomChangeRequest $request, Array $participants, RoomChangeParticipant $thisParticipant, $term)
- Create a ticketCreate a ticket