for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Repositories;
use App\MethodDeliveryPayment;
use App\MethodDeliveryPaymentTranslation;
class MethodDeliveryPaymentRepository extends Repository
{
/**
* @return MethodDeliveryPayment
*/
public function getModel()
return new MethodDeliveryPayment();
}
* @return MethodDeliveryPaymentTranslation
public function getTranslatableModel()
return new MethodDeliveryPaymentTranslation();
* Get public posts.
*
* @param $perPage
* @return \Illuminate\Database\Eloquent\Collection
public function getPublic($type)
return self::getModel()
active()
App\MethodDeliveryPayment
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()
->whereType($type)
->orderBy('id', self::ASC)
->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.