1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Minor fixes

This commit is contained in:
David Bomba 2023-04-17 21:26:00 +10:00
parent 99364fab55
commit c43d0ea652

View File

@ -22,7 +22,7 @@ class RecurringInvoiceFilters extends QueryFilters
/**
* Filter based on search text.
*
* @param string query filter
* @param string $filter
* @return Builder
* @deprecated
*/
@ -49,7 +49,7 @@ class RecurringInvoiceFilters extends QueryFilters
* - paused
* - completed
*
* @param string client_status The invoice status as seen by the client
* @param string $value The invoice status as seen by the client
* @return Builder
*/
public function client_status(string $value = ''): Builder
@ -98,7 +98,7 @@ class RecurringInvoiceFilters extends QueryFilters
/**
* Sorts the list based on $sort.
*
* @param string sort formatted as column|asc
* @param string $sort formatted as column|asc
* @return Builder
*/
public function sort(string $sort = ''): Builder
@ -115,9 +115,9 @@ class RecurringInvoiceFilters extends QueryFilters
/**
* Filters the query by the users company ID.
*
* @return Illuminate\Eloquent\Builder
* @return Illuminate\Database\Eloquent\Builder
*/
public function entityFilter()
public function entityFilter(): Builder
{
return $this->builder->company();
}