coding style

This commit is contained in:
Ludovic CANDELLIER
2023-09-13 22:53:37 +02:00
parent da48f41ec0
commit 5f215cef81
52 changed files with 122 additions and 129 deletions

View File

@@ -2,9 +2,9 @@
namespace App\Datatables\Admin\Shop;
use Yajra\DataTables\Html\Column;
use App\Datatables\ParentDataTable as DataTable;
use App\Models\Shop\TariffUnity;
use Yajra\DataTables\Html\Column;
class TariffUnitiesDataTable extends DataTable
{

View File

@@ -215,10 +215,8 @@ class ParentDataTable extends DataTable
/**
* Get filename for export.
*
* @return string
*/
protected function filename()
protected function filename(): string
{
return self::buildFilename($this->model_name);
}

View File

@@ -23,7 +23,6 @@ class CustomerOrdersDataTable extends DataTable
$this->url = route('Shop.Orders.index');
}
public function query(Order $model)
{
$customerId = Auth::id();