Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
MarJose123 committed Feb 5, 2024
1 parent efbcace commit 177a935
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 15 deletions.
3 changes: 1 addition & 2 deletions app/Filament/Candidate/Pages/MyResumeProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ public function mount(): void
$this->data = [
'Email' => $this->getResumeProfile()->count() === 0 ? Filament::auth()->user()->email : $this->getResumeProfile()->toArray()[0]['Email'],
];
if($this->getResumeProfile()->count() > 0)
{
if ($this->getResumeProfile()->count() > 0) {
$this->data = [
...$this->getResumeProfile()->toArray()[0],
];
Expand Down
3 changes: 2 additions & 1 deletion app/Filament/Candidate/Resources/AppliedJobListResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class AppliedJobListResource extends Resource

public static function getNavigationBadge(): ?string
{
$count = static::getModel()::where('Email', '=', Filament::auth()->user()->email)->count() ;
$count = static::getModel()::where('Email', '=', Filament::auth()->user()->email)->count();

return $count > 0 ? $count : '';
}

Expand Down
3 changes: 1 addition & 2 deletions app/Notifications/Candidates/CandidatePortalInvitation.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ public function toMail(object $notifiable): MailMessage
->line("We are excited to have you as a part of our talent community and to explore the possibilities of you joining our {$this->companyName} family.")
->line("Thank you for considering this invitation. We believe that great opportunities begin with great talent, and you're a testament to that belief.")
->line('We look forward to seeing you on our portal and, hopefully, as a part of our dynamic team.')
->salutation(new HtmlString("Regards,<br/>{$this->companyName}"))
;
->salutation(new HtmlString("Regards,<br/>{$this->companyName}"));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ public function toMail(object $notifiable): MailMessage
->line("If you encounter any issues during the registration or need assistance, don't hesitate to reach out to our support team.")
->line("We're excited to have you as part of our candidate community. Explore job listings, update your profile, and make the most of our portal to advance your career.")
->line('Thank you for choosing us, and best of luck in your journey!')
->salutation(new HtmlString("Regards,<br/>{$this->company_name}"))
;
->salutation(new HtmlString("Regards,<br/>{$this->company_name}"));

}

Expand Down
3 changes: 1 addition & 2 deletions app/Notifications/User/InviteNewSystemUserNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ public function toMail(object $notifiable): MailMessage
->action('Verify and Create Account', $this->verify_link)
->line('If you encounter any difficulties during the registration process or have any questions, please do not hesitate to reach out to our support team.')
->line('Thank you for choosing to be a part of our system. We look forward to having you on board and working together to achieve success.')
->salutation(new HtmlString("Regards,<br/>{$this->companyName}"))
;
->salutation(new HtmlString("Regards,<br/>{$this->companyName}"));
}

/**
Expand Down
3 changes: 1 addition & 2 deletions app/Notifications/User/WelcomeSystemUserNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ public function toMail(object $notifiable): MailMessage
->action('Login Now!', $this->login_link)
->line('If you have any questions or need assistance as you explore the system, please feel free to contact our support team.')
->line('Thank you for choosing our system, and we look forward to seeing the positive impact of your contributions.')
->salutation(new HtmlString("Regards,<br/>{$this->company_name}"))
;
->salutation(new HtmlString("Regards,<br/>{$this->company_name}"));
}

/**
Expand Down
1 change: 0 additions & 1 deletion app/Policies/CandidateUserPolicy.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\Policies;

use Illuminate\Auth\Access\Response;
use App\Models\CandidateUser;
use App\Models\User;

Expand Down
1 change: 0 additions & 1 deletion app/Policies/SavedJobPolicy.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\Policies;

use Illuminate\Auth\Access\Response;
use App\Models\SavedJob;
use App\Models\User;

Expand Down
1 change: 0 additions & 1 deletion app/Policies/candidatePortalInvitationPolicy.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\Policies;

use Illuminate\Auth\Access\Response;
use App\Models\candidatePortalInvitation;
use App\Models\User;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function __construct(AutoNumber $autoNumber)
*/
public function saving(Model $model)
{
if (!config('autonumber.onUpdate', false) && $model->exists) {
if (! config('autonumber.onUpdate', false) && $model->exists) {
return;
}

Expand Down

0 comments on commit 177a935

Please sign in to comment.