beyondcode / beyondcode/invoker-community

Invoker in linux all bugs

Open
#360 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**: /project/index?class=App%5CModels%5CAuto&time=1693031215072&project=local-ifY4PMHb35vwHETixeKkF3

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

Declaration of _HumbugBox4ff0af112613\Invoker\Metrics\MySqlTrendDateExpression::getValue() must be compatible with Illuminate\Database\Query\Expression::getValue(Illuminate\Database\Grammar $grammar)

at phar:///tmp/invoker.phar/src/Metrics/MySqlTrendDateExpression.php:7
3▕ namespace _HumbugBox4ff0af112613\Invoker\Metrics;
4▕
5▕ class MySqlTrendDateExpression extends \_HumbugBox4ff0af112613\Invoker\Metrics\TrendDateExpression
6▕ {
➜ 7▕ public function getValue()
8▕ {
9▕ switch ($this->unit) {
10▕ case 'months':
11▕ return "date_format({$this->wrap($this->column)}, '%Y-%m')";

Whoops\Exception\ErrorException

Declaration of _HumbugBox4ff0af112613\Invoker\Metrics\MySqlTrendDateExpression::getValue() must be compatible with Illuminate\Database\Query\Expression::getValue(Illuminate\Database\Grammar $grammar)

at phar:///tmp/invoker.phar/src/Metrics/MySqlTrendDateExpression.php:7
3▕ namespace _HumbugBox4ff0af112613\Invoker\Metrics;
4▕
5▕ class MySqlTrendDateExpression extends \_HumbugBox4ff0af112613\Invoker\Metrics\TrendDateExpression
6▕ {
➜ 7▕ public function getValue()
8▕ {
9▕ switch ($this->unit) {
10▕ case 'months':
11▕ return "date_format({$this->wrap($this->column)}, '%Y-%m')";

+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.