In the PHPStorm interface a warning message appears stating that I'm calling the orderBy method statically, but it is not static. My call:
Artigo::orderBy('edicao', 'desc')->paginate(25);
Would this be "wrong"? Or would have to do:
(new Artigo)->orderBy('edicao', 'desc')->paginate(25);
Note: I'm using Laravel 5.6