Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke authored and github-actions[bot] committed Sep 22, 2023
1 parent 93478a0 commit 8485ca6
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/Resources/ApiResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ApiResource
{
public array $attributes = [];

protected OhDear|null $ohDear;
protected ?OhDear $ohDear;

public function __construct(array $attributes, OhDear $ohDear = null)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/BrokenLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class BrokenLink extends ApiResource
/*
* The status code the site responded with.
*/
public int|null $statusCode;
public ?int $statusCode;

/*
* The url that is broken.
Expand Down
6 changes: 3 additions & 3 deletions src/Resources/CronCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ class CronCheck extends ApiResource

public int $checkId;

public int|null $frequencyInMinutes;
public ?int $frequencyInMinutes;

public string $pingUrl;

public int $graceTimeInMinutes = 0;

public string|null $cronExpression = '';
public ?string $cronExpression = '';

public string|null $description = '';
public ?string $description = '';

public function __construct(array $attributes, $ohDear = null)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Downtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ class Downtime extends ApiResource
{
public string $startedAt;

public string|null $endedAt;
public ?string $endedAt;
}
22 changes: 11 additions & 11 deletions src/Resources/LighthouseReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ class LighthouseReport extends ApiResource
{
public int $id;

public int|null $performanceScore;
public ?int $performanceScore;

public int|null $accessibilityScore;
public ?int $accessibilityScore;

public int|null $bestPracticesScore;
public ?int $bestPracticesScore;

public int|null $seoScore;
public ?int $seoScore;

public int|null $progressiveWebAppScore;
public ?int $progressiveWebAppScore;

public float|null $firstContentfulPaintInMs;
public ?float $firstContentfulPaintInMs;

public float|null $speedIndexInMs;
public ?float $speedIndexInMs;

public float|null $largestContentfulPaintInMs;
public ?float $largestContentfulPaintInMs;

public float|null $timeToInteractiveInMs;
public ?float $timeToInteractiveInMs;

public float|null $totalBlockingTimeInMs;
public ?float $totalBlockingTimeInMs;

public float|null $cumulativeLayoutShift;
public ?float $cumulativeLayoutShift;

public string $performedOnCheckerServer;

Expand Down
2 changes: 1 addition & 1 deletion src/Resources/MaintenancePeriod.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ class MaintenancePeriod extends ApiResource

public string $startsAt;

public string|null $endsAt;
public ?string $endsAt;
}
2 changes: 1 addition & 1 deletion src/Resources/StatusPageUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class StatusPageUpdate extends ApiResource

public string $title;

public string|null $text;
public ?string $text;

public bool $pinned;

Expand Down

0 comments on commit 8485ca6

Please sign in to comment.