EvilFreelancer/bookeo-api-php

View on GitHub
src/Models/Booking.php

Summary

Maintainability
A
1 hr
Test Coverage

Method allowed has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function allowed(): array
    {
        return [
            'bookingNumber'               => 'string',             // The unique booking number. Always treat as string [read-only],
            'eventId'                     => 'string',             // When the booking is for a product of type fixed or fixedCourse, this is the id of the slot (see /availability/slots). Note that for fixedCourse, Bookeo always returns the eventId of the first class in a course, even if the customer is enrolled starting from a later class. In this case, firstCourseEnrolledEvent will be set.,
Severity: Minor
Found in src/Models/Booking.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status