beyondcode / beyondcode/invoker-community

Symfony\Component\ErrorHandler\Error\FatalError

Open
#358 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
76
Forks
1
PR merge metrics
No merged PRs in 30d

Description


------
**OS**: linux
**Invoker Version**: 2.13.2
**Laravel Version**: 10.20.0
**Local project**: true
**PHP Binary**: /usr/bin/php
**Route**: /home?project=local-iE4rJbM5mJSrb3T8jMpHuB

**Error**:
```
Symfony\Component\ErrorHandler\Error\FatalError

Declaration of PhpOffice\PhpSpreadsheet\Collection\Memory\SimpleCache1::get($key, $default = null) must be compatible with Psr\SimpleCache\CacheInterface::get(string $key, mixed $default = null): mixed

at /home/jordan/Documents/freelas/imob/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Memory/SimpleCache1.php:63
59▕ * @param mixed $default
60▕ *
61▕ * @return mixed
62▕ */
➜ 63▕ public function get($key, $default = null)
64▕ {
65▕ if ($this->has($key)) {
66▕ return $this->cache[$key];
67▕ }

+6 vendor frames 

7 phar:///tmp/.mount_InvokeWtxUIN/resources/invoker_l10.phar/src/ModelLookupService.php:125
Composer\Autoload\ClassLoader::loadClass("'PhpOffice\\PhpSpreadsheet\\Collection\\Memory\\SimpleCache1'")
8 phar:///tmp/.mount_InvokeWtxUIN/resources/invoker_l10.phar/src/ModelLookupService.php:125

Whoops\Exception\ErrorException

Declaration of PhpOffice\PhpSpreadsheet\Collection\Memory\SimpleCache1::get($key, $default = null) must be compatible with Psr\SimpleCache\CacheInterface::get(string $key, mixed $default = null): mixed

at /home/jordan/Documents/freelas/imob/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Memory/SimpleCache1.php:63
59▕ * @param mixed $default
60▕ *
61▕ * @return mixed
62▕ */
➜ 63▕ public function get($key, $default = null)
64▕ {
65▕ if ($this->has($key)) {
66▕ return $this->cache[$key];
67▕ }

+1 vendor frames 

2 [internal]:0
Whoops\Run::handleShutdown()
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.