Skip to content

Commit

Permalink
#510 - lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Baakoma committed Jan 13, 2025
1 parent a8ded53 commit e74bee7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
3 changes: 1 addition & 2 deletions app/Http/Resources/DashboardVacationRequestResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

class DashboardVacationRequestResource extends JsonResource
{
public static $wrap = null;
protected VacationTypeConfigRetriever $configRetriever;

public function __construct($resource)
Expand All @@ -19,8 +20,6 @@ public function __construct($resource)
$this->configRetriever = app(VacationTypeConfigRetriever::class);
}

public static $wrap = null;

public function toArray($request): array
{
return [
Expand Down
3 changes: 1 addition & 2 deletions app/Http/Resources/VacationRequestResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

class VacationRequestResource extends JsonResource
{
public static $wrap = null;
protected VacationTypeConfigRetriever $configRetriever;

public function __construct($resource)
Expand All @@ -22,8 +23,6 @@ public function __construct($resource)
$this->configRetriever = app(VacationTypeConfigRetriever::class);
}

public static $wrap = null;

public function toArray($request): array
{
$user = $request->user();
Expand Down
14 changes: 6 additions & 8 deletions tests/DuskTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,12 @@ protected function driver(): RemoteWebDriver
],
)->unless(
$this->hasHeadlessDisabled(),
function ($items) {
return $items->merge(
[
"--disable-gpu",
"--headless",
],
);
},
fn($items) => $items->merge(
[
"--disable-gpu",
"--headless",
],
),
)->all(),
);

Expand Down

0 comments on commit e74bee7

Please sign in to comment.