Repository navigation
Conversation
In PHP class constructor should return `void` as per manual https://www.php.net/manual/en/language.oop5.decon.php and using `return $this;` will start to output warning in PHP 8.6 ``` 1) /home/runner/work/framework/framework/vendor/ably/pubsub-server/src/PubSubHttpClient.php:110 Returning a value from a constructor is deprecated Triggered by: * Illuminate\Tests\Broadcasting\Ably2BroadcasterTest::testAuthCallValidAuthenticationResponseWithPrivateChannelWhenCallbackReturnTrue /home/runner/work/framework/framework/tests/Broadcasting/Ably2BroadcasterTest.php:32 ```
|
No actionable comments were generated in the recent review. WalkthroughThe constructor no longer explicitly returns ChangesConstructor cleanup
Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Bug fix Merge Risk:
|
In PHP class constructor should return
voidas per manual https://www.php.net/manual/en/language.oop5.decon.php and usingreturn $this;will start to output warning in PHP 8.6Summary by CodeRabbit