mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
PHP 8.4: Implicitly nullable parameter declarations deprecated
This commit is contained in:
parent
0263f8fe09
commit
4e3a7a6de2
24 changed files with 44 additions and 44 deletions
|
|
@ -472,7 +472,7 @@ class Client implements ClientInterface, IteratorAggregate
|
|||
*
|
||||
* @return Pipeline|array
|
||||
*/
|
||||
protected function createPipeline(array $options = null, $callable = null)
|
||||
protected function createPipeline(?array $options = null, $callable = null)
|
||||
{
|
||||
if (isset($options['atomic']) && $options['atomic']) {
|
||||
$class = Atomic::class;
|
||||
|
|
@ -525,7 +525,7 @@ class Client implements ClientInterface, IteratorAggregate
|
|||
*
|
||||
* @return MultiExecTransaction|array
|
||||
*/
|
||||
protected function createTransaction(array $options = null, $callable = null)
|
||||
protected function createTransaction(?array $options = null, $callable = null)
|
||||
{
|
||||
$transaction = new MultiExecTransaction($this, $options);
|
||||
|
||||
|
|
@ -557,7 +557,7 @@ class Client implements ClientInterface, IteratorAggregate
|
|||
*
|
||||
* @return PubSubConsumer|null
|
||||
*/
|
||||
protected function createPubSub(array $options = null, $callable = null)
|
||||
protected function createPubSub(?array $options = null, $callable = null)
|
||||
{
|
||||
if ($this->connection instanceof RelayConnection) {
|
||||
$pubsub = new RelayPubSubConsumer($this, $options);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue