Updated all dependencies and prepared for PHP 8
This commit is contained in:
@@ -14,7 +14,7 @@ use Psr\Http\Message\RequestInterface, Psr\Http\Message\ResponseInterface;
|
||||
use DI\ContainerBuilder;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Doctrine\Common\Cache\FilesystemCache;
|
||||
use Slim\Http\Response;
|
||||
use Slim\Psr7\Response;
|
||||
use Symfony\Component\Mailer\MailerInterface,
|
||||
Symfony\Component\Mailer\Transport, Symfony\Component\Mailer\Mailer;
|
||||
use CloudObjects\SDK\ObjectRetriever, CloudObjects\SDK\NodeReader, CloudObjects\SDK\COIDParser;
|
||||
|
||||
@@ -20,7 +20,7 @@ class SandboxedContainer implements ContainerInterface {
|
||||
$this->container = $container;
|
||||
}
|
||||
|
||||
public function has($id) {
|
||||
public function has($id) : bool {
|
||||
return $this->container->has($id);
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ use DI\Definition\Source\DefinitionSource, DI\Definition\Source\Autowiring,
|
||||
*/
|
||||
class WhitelistReflectionBasedAutowiring extends ReflectionBasedAutowiring implements DefinitionSource, Autowiring {
|
||||
|
||||
public function autowire(string $name, ObjectDefinition $definition = null) {
|
||||
public function autowire(string $name, ?ObjectDefinition $definition = null) : ?ObjectDefinition {
|
||||
return isset($definition) ? parent::autowire($name, $definition) : null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user