Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declaration of Asciisd\Cashier\Logger::error($message, array $context = []) must be compatible with Tap\Util\LoggerInterface::error(string $message, array $context = []): void #1

Open
aemaddin opened this issue Mar 3, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@aemaddin
Copy link
Collaborator

aemaddin commented Mar 3, 2024


OS: darwin
Invoker Version: 2.13.3
Laravel Version: 10.46.0
Local project: true
PHP Binary: /opt/homebrew/bin/php
Route: /home?project=local-ehcg7WRmfiDH6mWrKAwfUq

Error:

Symfony\Component\ErrorHandler\Error\FatalError 

  Declaration of Asciisd\Cashier\Logger::error($message, array $context = []) must be compatible with Tap\Util\LoggerInterface::error(string $message, array $context = []): void

  at /Users/aemaddin/Sites/caveo-ssr/vendor/asciisd/cashier-tap/src/Logger.php:31
     27▕ 
     28▕     /**
     29▕      * {@inheritdoc}
     30▕      */
  ➜  31▕     public function error($message, array $context = [])
     32▕     {
     33▕         $this->logger->error($message, $context);
     34▕     }
     35▕ }


   Whoops\Exception\ErrorException 

  Declaration of Asciisd\Cashier\Logger::error($message, array $context = []) must be compatible with Tap\Util\LoggerInterface::error(string $message, array $context = []): void

  at /Users/aemaddin/Sites/caveo-ssr/vendor/asciisd/cashier-tap/src/Logger.php:31
     27▕ 
     28▕     /**
     29▕      * {@inheritdoc}
     30▕      */
  ➜  31▕     public function error($message, array $context = [])
     32▕     {
     33▕         $this->logger->error($message, $context);
     34▕     }
     35▕ }

      �[2m+1 vendor frames �[22m

  2   [internal]:0
      Whoops\Run::handleShutdown()
@aemaddin aemaddin added the bug Something isn't working label Mar 3, 2024
@aemaddin aemaddin self-assigned this Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant