Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and github-actions[bot] committed Feb 3, 2024
1 parent baebf25 commit 00e072f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/Actions/ManagesDowntime.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
trait ManagesDowntime
{
/**
* @param string $startedAt Short (2020-12-01) or long (2020-12-01 15:00:00) date format
* @param string $endedAt Short (2020-12-01) or long (2020-12-01 15:00:00) date format
* @param string $startedAt Short (2020-12-01) or long (2020-12-01 15:00:00) date format
* @param string $endedAt Short (2020-12-01) or long (2020-12-01 15:00:00) date format
*/
public function downtime(int $siteId, string $startedAt, string $endedAt): array
{
Expand Down
6 changes: 3 additions & 3 deletions src/Actions/ManagesMaintenancePeriods.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function maintenancePeriods(int $siteId): array
}

/**
* @param int $stopMaintenanceAfterSeconds Stops after one hour by default
* @param int $stopMaintenanceAfterSeconds Stops after one hour by default
*/
public function startSiteMaintenance(int $siteId, int $stopMaintenanceAfterSeconds = 60 * 60): MaintenancePeriod
{
Expand All @@ -32,8 +32,8 @@ public function stopSiteMaintenance(int $siteId)
}

/**
* @param string $startsAt Y-m-d H:i
* @param string $endsAt Y-m-d H:i
* @param string $startsAt Y-m-d H:i
* @param string $endsAt Y-m-d H:i
*/
public function createSiteMaintenance(int $siteId, string $startsAt, string $endsAt): MaintenancePeriod
{
Expand Down
6 changes: 3 additions & 3 deletions src/Actions/ManagesPerformance.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
trait ManagesPerformance
{
/**
* @param string $start Short (2020-12-01) or long (2020-12-01 15:00:00) date format
* @param string $end Short (2020-12-01) or long (2020-12-01 15:00:00) date format
* @param string $timeframe Should be 1m or 1h
* @param string $start Short (2020-12-01) or long (2020-12-01 15:00:00) date format
* @param string $end Short (2020-12-01) or long (2020-12-01 15:00:00) date format
* @param string $timeframe Should be 1m or 1h
*/
public function performanceRecords(
int $siteId,
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/ApiResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ApiResource

protected ?OhDear $ohDear;

public function __construct(array $attributes, OhDear $ohDear = null)
public function __construct(array $attributes, ?OhDear $ohDear = null)
{
$this->attributes = $attributes;

Expand Down

0 comments on commit 00e072f

Please sign in to comment.