Skip to content

Commit

Permalink
PHP Linting (Pint) - Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sampoyigi authored and github-actions[bot] committed Jun 24, 2024
1 parent 3d2c22f commit d01130b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ public function up()
$this->updateMorphsOnReviews();
}

public function down()
{
}
public function down() {}

protected function updateMorphsOnReviews()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ public function up()
});
}

public function down()
{
}
public function down() {}
};
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,5 @@ public function up()
});
}

public function down()
{
}
public function down() {}
};
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@ public function up()
});
}

public function down()
{
}
public function down() {}
};
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ public function up()
});
}

public function down()
{
}
public function down() {}
};
4 changes: 1 addition & 3 deletions src/Events/WorkingScheduleCreatedEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ class WorkingScheduleCreatedEvent
{
use EventDispatchable;

public function __construct(public Model $model, public WorkingSchedule $schedule)
{
}
public function __construct(public Model $model, public WorkingSchedule $schedule) {}

public static function eventName()
{
Expand Down
4 changes: 1 addition & 3 deletions src/Events/WorkingScheduleTimeslotValidEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ class WorkingScheduleTimeslotValidEvent
{
use \Igniter\Flame\Traits\EventDispatchable;

public function __construct(public WorkingSchedule $schedule, public DateTimeInterface $timeslot)
{
}
public function __construct(public WorkingSchedule $schedule, public DateTimeInterface $timeslot) {}

public static function eventName()
{
Expand Down
4 changes: 1 addition & 3 deletions src/Exceptions/WorkingHourException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

namespace Igniter\Local\Exceptions;

class WorkingHourException extends \Exception
{
}
class WorkingHourException extends \Exception {}

0 comments on commit d01130b

Please sign in to comment.