rinvex/laravel-bookings

View on GitHub

Showing 4 of 16 total issues

BookableBooking has 27 functions (exceeds 20 allowed). Consider refactoring.
Open

abstract class BookableBooking extends Model
{
    use HasFactory;
    use ValidatingTrait;

Severity: Minor
Found in src/Models/BookableBooking.php - About 3 hrs to fix

Method morphMany has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    abstract public function morphMany($related, $name, $type = null, $id = null, $localKey = null);
Severity: Minor
Found in src/Traits/HasBookings.php - About 35 mins to fix

Method morphMany has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    abstract public function morphMany($related, $name, $type = null, $id = null, $localKey = null);
Severity: Minor
Found in src/Traits/Bookable.php - About 35 mins to fix

Method morphMany has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    abstract public function morphMany($related, $name, $type = null, $id = null, $localKey = null);
Severity: Minor
Found in src/Traits/Ticketable.php - About 35 mins to fix
Severity
Category
Status
Source
Language