need help fixing for php 8.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



here the errors:

Deprecated
: League\Flysystem\EventableFilesystem\EventableFilesystem::__construct(): Implicitly marking parameter $emitter as nullable is deprecated, the explicit nullable type must be used instead in
/usr/www/dcu/public_html/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php
on line
30


Deprecated
: League\Flysystem\EventableFilesystem\EventableFilesystem::get(): Implicitly marking parameter $handler as nullable is deprecated, the explicit nullable type must be used instead in
/usr/www/dcu/public_html/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php
on line
98


Deprecated
: Use of "parent" in callables is deprecated in
/usr/www/dcu/public_html/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php
on line
431

--------------------------------------------------

snippet of line 30:

    /**
     * Constructor.
     *
     * @param AdapterInterface $adapter
     * @param mixed            $config
     * @param Emitter          $emitter
     */
public function __construct(AdapterInterface $adapter, $config = null, Emit>
    {
        $this->setEmitter($emitter);
        parent::__construct($adapter, $config);
    }
--------------------------------------------------------------------------

snippet og line 98:

    /**
     * Get a file/directory handler.
     *
     * @param string  $path
     * @param Handler $handler
     * @param mixed   $config
     *
     * @return Handler file or directory handler
     */
public function get($path, Handler $handler = null, array $config = [])
    {
return $this->delegateMethodCall('get', compact('path', 'handler', 'config'));

    }

--------------------------------------------

snippet of line 431:

    /**
     * Call the underlying filesystem method.
     *
     * @param string $method
     * @param array  $arguments
     *
     * @return mixed
     */
    protected function callFilesystemMethod($method, array $arguments)
    {
        $callable = 'parent::'.$method;
$result = call_user_func_array($callable, array_values($arguments));

        return $result;
    }


-----------------------------------------

thanks for all your help



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux