Skip to content

Commit

Permalink
pint update
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcage committed Sep 3, 2023
1 parent 5142c0a commit 3d590fa
Show file tree
Hide file tree
Showing 17 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions app/Exports/ReadyOrdersListExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
use PhpOffice\PhpSpreadsheet\Style\NumberFormat;
use PhpOffice\PhpSpreadsheet\Worksheet\PageSetup;

class ReadyOrdersListExport implements WithProperties, FromQuery, WithMapping, WithHeadings, WithColumnFormatting, ShouldAutoSize, WithStyles
class ReadyOrdersListExport implements FromQuery, ShouldAutoSize, WithColumnFormatting, WithHeadings, WithMapping, WithProperties, WithStyles
{
use Exportable;
use DefaultWorksheetStyles;
use Exportable;

protected $worksheetTitle = 'Orders';

Expand Down
2 changes: 1 addition & 1 deletion app/Exports/Sheets/CommentsSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use PhpOffice\PhpSpreadsheet\Shared\Date;
use PhpOffice\PhpSpreadsheet\Style\NumberFormat;

class CommentsSheet implements FromQuery, WithMapping, WithHeadings, WithColumnFormatting, ShouldAutoSize, WithStyles
class CommentsSheet implements FromQuery, ShouldAutoSize, WithColumnFormatting, WithHeadings, WithMapping, WithStyles
{
use DefaultWorksheetStyles;

Expand Down
2 changes: 1 addition & 1 deletion app/Exports/Sheets/CustomersSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use PhpOffice\PhpSpreadsheet\Style\NumberFormat;
use Throwable;

class CustomersSheet implements FromQuery, WithMapping, WithHeadings, WithColumnFormatting, ShouldAutoSize, WithStyles
class CustomersSheet implements FromQuery, ShouldAutoSize, WithColumnFormatting, WithHeadings, WithMapping, WithStyles
{
use DefaultWorksheetStyles;

Expand Down
2 changes: 1 addition & 1 deletion app/Exports/Sheets/OrdersSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use PhpOffice\PhpSpreadsheet\Style\NumberFormat;
use Throwable;

class OrdersSheet implements FromQuery, WithMapping, WithHeadings, WithColumnFormatting, ShouldAutoSize, WithStyles
class OrdersSheet implements FromQuery, ShouldAutoSize, WithColumnFormatting, WithHeadings, WithMapping, WithStyles
{
use DefaultWorksheetStyles;

Expand Down
2 changes: 1 addition & 1 deletion app/Exports/Sheets/ProductsSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use PhpOffice\PhpSpreadsheet\Style\Alignment;
use PhpOffice\PhpSpreadsheet\Style\NumberFormat;

class ProductsSheet implements FromQuery, WithMapping, WithHeadings, WithColumnFormatting, ShouldAutoSize, WithStyles
class ProductsSheet implements FromQuery, ShouldAutoSize, WithColumnFormatting, WithHeadings, WithMapping, WithStyles
{
use DefaultWorksheetStyles;

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Livewire/Backend/BlockedPhoneNumbersPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
class BlockedPhoneNumbersPage extends BackendPage
{
use AuthorizesRequests;
use WithPagination;
use AuthorizesRequests;
use CurrentRouteName;
use TrimEmptyStrings;
use WithPagination;

protected string $title = 'Blocked Phone Numbers';

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Livewire/Backend/CustomerDetailPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

class CustomerDetailPage extends BackendPage
{
use WithPagination;
use AuthorizesRequests;
use WithPagination;

protected string $paginationTheme = 'bootstrap';

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Livewire/Backend/CustomerListPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

class CustomerListPage extends BackendPage
{
use WithPagination;
use AuthorizesRequests;
use WithPagination;
use WithSorting;

protected string $title = 'Customers';
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Livewire/Backend/DataExportPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

class DataExportPage extends BackendPage
{
use WithFileUploads;
use AuthorizesRequests;
use WithFileUploads;

protected string $title = 'Data Export';

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Livewire/Backend/OrderListPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

class OrderListPage extends BackendPage
{
use WithPagination;
use AuthorizesRequests;
use WithPagination;
use WithSorting;

protected string $paginationTheme = 'bootstrap';
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Livewire/Backend/SettingsPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

class SettingsPage extends BackendPage
{
use WithFileUploads;
use AuthorizesRequests;
use CurrentRouteName;
use WithFileUploads;

protected string $title = 'Settings';

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Livewire/Backend/StockChangePage.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
class StockChangePage extends BackendPage
{
use AuthorizesRequests;
use WithPagination;
use CurrentRouteName;
use WithPagination;

protected string $paginationTheme = 'bootstrap';

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Livewire/Backend/UserListPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

class UserListPage extends BackendPage
{
use WithPagination;
use AuthorizesRequests;
use WithPagination;

protected string $title = 'Users';

Expand Down
8 changes: 4 additions & 4 deletions app/Models/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
use libphonenumber\NumberParseException;
use OwenIt\Auditing\Contracts\Auditable;

class Customer extends Model implements HasLocalePreference, AuthenticatableContract, AuthorizableContract, CanResetPasswordContract, Auditable
class Customer extends Model implements Auditable, AuthenticatableContract, AuthorizableContract, CanResetPasswordContract, HasLocalePreference
{
use Authenticatable;
use Authorizable;
use CanResetPassword;
use HasFactory;
use Notifiable;
use NullableFields;
use NumberCompareScope;
use Authenticatable;
use Authorizable;
use CanResetPassword;
use \OwenIt\Auditing\Auditable;

protected $fillable = [
Expand Down
2 changes: 1 addition & 1 deletion app/Models/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class Product extends Model implements Auditable
{
use HasFactory;
use NullableFields;
use HasTranslations;
use NullableFields;
use \OwenIt\Auditing\Auditable;

/**
Expand Down
2 changes: 1 addition & 1 deletion app/Models/TextBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

class TextBlock extends Model implements Auditable
{
use \OwenIt\Auditing\Auditable;
use HasTranslations;
use \OwenIt\Auditing\Auditable;

protected $fillable = [
'name',
Expand Down
2 changes: 1 addition & 1 deletion app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
class User extends Authenticatable
{
use HasFactory;
use HasRoles;
use Notifiable;
use NullableFields;
use HasRoles;

/**
* The attributes that are mass assignable.
Expand Down

0 comments on commit 3d590fa

Please sign in to comment.