I´m working with laravel and i have installed larastan and when execute this library, return me this message:
Call to an undefined method
AppBuildersLiquidBuilder::conTipoGrupo().
This method it´s in my personaliced builder and his body it´s:
public function conTipoGrupo(): self
{
return $this->leftJoin
...
i´m calling this method in other function and i´m building a query
$regs = GrupoLiquidaciones::conAplicaciones()
->conTipoGrupo()
In my model i´m instancing to my builder and i have my phpDoc because it´s personaliced builder:
/**
* @param Builder $query
* @return BuilderGrupoLiquidaciones
*
* Devuelve una instancia del Builder de grupos de liquidacion
*/
public function newEloquentBuilder($query): LiquidBuilder
{
return new BuilderGrupoLiquidaciones($query, $this->table);
}
i don´t know that i should to do to solve this message. Thanks for readme and sorry for my bad english