for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sagitarius29\LaravelSubscriptions\Traits;
use Sagitarius29\LaravelSubscriptions\Contracts\PlanPriceContract;
trait HasManyPrices
{
public function setPrices(array $prices)
$this->prices()->delete();
prices()
Sagitarius29\LaravelSubs...ns\Traits\HasManyPrices
setPrices()
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.
$this->prices()->saveMany($prices);
}
public function addPrice(PlanPriceContract $price)
$this->prices()->save($price);
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.