Closed jryd closed 1 year ago
In our implementation, we rely on access to returned data when creating tickets.
This breaks when doing something like:
$ticket = Zendesk::tickets()->create([...])->ticket;
By using __get() we can catch calls to properties and just continue to return the NullService as we do for methods.
__get()
In our implementation, we rely on access to returned data when creating tickets.
This breaks when doing something like:
By using
__get()
we can catch calls to properties and just continue to return the NullService as we do for methods.