Skip to content

Commit

Permalink
Merge branch 'main' of github.com:spatie/laravel-personal-data-export
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Feb 13, 2022
2 parents af35da1 + b9d7f27 commit fd1f920
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion src/Jobs/CreatePersonalDataExportJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@

class CreatePersonalDataExportJob implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
use Dispatchable;
use InteractsWithQueue;
use Queueable;
use SerializesModels;

protected ExportsPersonalData | Model $user;

Expand Down
3 changes: 1 addition & 2 deletions src/Notifications/PersonalDataExportedNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Illuminate\Support\Facades\Lang;

class PersonalDataExportedNotification extends Notification
{
Expand Down Expand Up @@ -41,7 +40,7 @@ public function toMail($notifiable)
return call_user_func(static::$toMailCallback, $notifiable, $downloadUrl);
}

return (new MailMessage)
return (new MailMessage())
->subject(trans('personal-data-export::notifications.subject'))
->line(trans('personal-data-export::notifications.instructions'))
->action(trans('personal-data-export::notifications.action'), $downloadUrl)
Expand Down
1 change: 0 additions & 1 deletion src/PersonalDataExportServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Spatie\PersonalDataExport;

use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
use Spatie\PersonalDataExport\Commands\CleanOldPersonalDataExportsCommand;
Expand Down

0 comments on commit fd1f920

Please sign in to comment.