Issues (7)

src/Console/ResponsiveQuote.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace DavideCasiraghi\PhpResponsiveRandomQuote\Console;
4
5
use Illuminate\Console\Command;
6
use DavideCasiraghi\PhpResponsiveRandomQuote\Facades\PhpResponsiveQuote;
7
8
class ResponsiveQuote extends Command
9
{
10
    protected $signature = 'php-responsive-quote';
11
12
    protected $description = 'Output a responsive quote';
13
14 1
    public function handle()
15
    {
16 1
        $this->info(PhpResponsiveQuote::getRandomQuote());
0 ignored issues
show
The method getRandomQuote() does not exist on DavideCasiraghi\PhpRespo...ades\PhpResponsiveQuote. Since you implemented __callStatic, consider adding a @method annotation. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

16
        $this->info(PhpResponsiveQuote::/** @scrutinizer ignore-call */ getRandomQuote());
Loading history...
17 1
    }
18
}
19