Fix isolated deps (php 7.1)

This commit is contained in:
Alex P 2022-11-09 10:19:34 +02:00
parent 956a581acb
commit 52a560672e
4 changed files with 16 additions and 11 deletions

8
composer.lock generated
View file

@ -809,12 +809,12 @@
}
},
"autoload": {
"psr-4": {
"Amp\\ByteStream\\": "lib"
},
"files": [
"lib/functions.php"
]
],
"psr-4": {
"Amp\\ByteStream\\": "lib"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [

View file

@ -1,12 +1,13 @@
<?php
/**
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file)
*/
namespace WooCommerce\PayPalCommerce\Vendor\Psr\Container;
use Throwable;
/**
* Base interface representing a generic exception in a container.
*/
interface ContainerExceptionInterface extends Throwable
interface ContainerExceptionInterface
{
}

View file

@ -1,6 +1,7 @@
<?php
declare(strict_types=1);
/**
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file)
*/
namespace WooCommerce\PayPalCommerce\Vendor\Psr\Container;
@ -19,7 +20,7 @@ interface ContainerInterface
*
* @return mixed Entry.
*/
public function get(string $id);
public function get($id);
/**
* Returns true if the container can return an entry for the given identifier.
@ -32,5 +33,5 @@ interface ContainerInterface
*
* @return bool
*/
public function has(string $id);
public function has($id);
}

View file

@ -1,4 +1,7 @@
<?php
/**
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file)
*/
namespace WooCommerce\PayPalCommerce\Vendor\Psr\Container;