Comments (2)
The change was made from dispatchAfterResponse
to dispatch
because the former cannot go to a queue, which is what is required for some handlers.
As for your examples, I'm not sure what code is yours or another package's, but I think you just need to make your object nullable? Seems like more of a PHP 8 thing.
abstract class AbstractUserEvent extends AbstractWoocommerceEvent
{
private WoocommerceHelpers|null $wooHelper = null;
public function __construct(public string $event, public array $data)
{
...
from receiver.
(Closing this until/unless I can provide more details showing it's actually an issue and not my misunderstanding.)
from receiver.
Related Issues (11)
- Stripe Driver Not Recognized? HOT 3
- IDE: Undefined method 'receive' HOT 2
- Authenticate postmark webhooks by IP HOT 2
- Extract providers out from core package to be installable independently
- Unclear documentation HOT 1
- Support for fallback handlers when event-specific class doesn't exist HOT 3
- Multiple events in single request HOT 7
- Tests are failing HOT 1
- Best way to validate $driver string in a request? HOT 1
- Clarify configuration requirements, provide examples
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from receiver.