Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cholladay0816 authored and github-actions[bot] committed Aug 24, 2023
1 parent aefc809 commit dfcc7ab
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
6 changes: 4 additions & 2 deletions app/Http/Livewire/Onboarding/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ class Index extends Component
public ?Creator $creator;


public function mount() {
public function mount()
{
$this->form['account_type'] = Session::get('account_type');
$this->refresh();
}

public function updatedForm($value, $key){
public function updatedForm($value, $key)
{
Session::put($key, $value);
}

Expand Down
5 changes: 2 additions & 3 deletions app/Http/Livewire/Profile/PaymentDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ class PaymentDetails extends Component
public string|null $redirect = null;
public function mount()
{
if(is_null($this->redirect))
{
$this->redirect = route('profile.show');
if(is_null($this->redirect)) {
$this->redirect = route('profile.show');
}
}
public function render()
Expand Down
3 changes: 1 addition & 2 deletions app/Http/Livewire/Profile/Stripe.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ class Stripe extends Component

public function mount()
{
if(is_null($this->redirect))
{
if(is_null($this->redirect)) {
$this->redirect = route('profile.show');
}
}
Expand Down
3 changes: 1 addition & 2 deletions app/Http/Middleware/OnboardingMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ class OnboardingMiddleware
*/
public function handle(Request $request, Closure $next)
{
if(!auth()->user()->onboarded_at)
{
if(!auth()->user()->onboarded_at) {
return redirect()->route('onboarding');
}
return $next($request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
return new class () extends Migration {
/**
* Run the migrations.
*
Expand Down

0 comments on commit dfcc7ab

Please sign in to comment.