app/Models/Room.php
Method store
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function store(string $roomName, string $description, string $model, int $maxUsers, int $roomCategory, int $floorPaper, int $wallPaper, float $landscapePaper, int $ownerId, string $ownerName)
The method store has 10 parameters. Consider reducing the number of parameters to less than 10. Open
Open
public function store(string $roomName, string $description, string $model, int $maxUsers, int $roomCategory, int $floorPaper, int $wallPaper, float $landscapePaper, int $ownerId, string $ownerName)
{
$this->attributes['name'] = $roomName;
$this->attributes['description'] = $description;
$this->attributes['model'] = $model;
- Exclude checks
TODO found Open
Open
* @TODO: What this really does?
- Exclude checks
TODO found Open
Open
* @TODO: Get Real Full Room Image
- Exclude checks