The method getEndDate() does not exist on Application\Model\AbstractModel. It seems like you code against a sub-type of Application\Model\AbstractModel such as Application\Model\Booking.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
33
if (!$booking->/** @scrutinizer ignore-call */ getEndDate()) {
The method setEndDate() does not exist on Application\Model\AbstractModel. It seems like you code against a sub-type of Application\Model\AbstractModel such as Application\Model\Booking.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
The method setEndComment() does not exist on Application\Model\AbstractModel. It seems like you code against a sub-type of Application\Model\AbstractModel such as Application\Model\Booking.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
The expression return $booking returns the type Application\Model\AbstractModel which includes types incompatible with the type-hinted return Application\Model\Booking.
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.