for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Repositories;
use App\Faq;
use App\FaqTranslations;
class FaqRepository extends Repository
{
/**
* @return Faq
*/
public function getModel()
return new Faq();
}
* @return FaqTranslations
public function getTranslatableModel()
return new FaqTranslations();
* Get public faq.
*
* @return mixed
public function getPublic()
return self::getModel()
active()
App\Faq
scopeActive()
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.
->active()
->ranked()
->get();
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.