Skip to content

Commit 50cae87

Browse files
committed
CS
1 parent 0e14573 commit 50cae87

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/Profiles/ProfileChunk.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ final class ProfileChunk
7272
private const VERSION = '2';
7373

7474
/**
75-
* @var float The start time of the profile as a Unix timestamp with microseconds
75+
* @var float|null The start time of the profile as a Unix timestamp with microseconds
7676
*/
7777
private $startTimeStamp;
7878

@@ -101,7 +101,7 @@ public function __construct(?Options $options = null)
101101
$this->options = $options;
102102
}
103103

104-
public function setStartTimeStamp(float $startTimeStamp): void
104+
public function setStartTimeStamp(?float $startTimeStamp): void
105105
{
106106
$this->startTimeStamp = $startTimeStamp;
107107
}

src/Profiles/Profiler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class Profiler
2525
private $logger;
2626

2727
/**
28-
* @var float The start time of the profile as a Unix timestamp with microseconds
28+
* @var float|null The start time of the profile as a Unix timestamp with microseconds
2929
*/
3030
private $startTimeStamp;
3131

@@ -69,7 +69,7 @@ public function stop(): ?\ExcimerLog
6969
return null;
7070
}
7171

72-
public function getStartTimeStamp(): float
72+
public function getStartTimeStamp(): ?float
7373
{
7474
return $this->startTimeStamp;
7575
}

src/Profiles/ProfilesAggregator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class ProfilesAggregator
1919
private $excimerLogs = [];
2020

2121
/**
22-
* @var float The start time of the profile as a Unix timestamp with microseconds
22+
* @var float|null The start time of the profile as a Unix timestamp with microseconds
2323
*/
2424
private $startTimeStamp;
2525

@@ -36,7 +36,7 @@ public function add($excimerLog): void
3636
$this->excimerLogs[] = $excimerLog;
3737
}
3838

39-
public function setStartTimeStamp(float $startTimeStamp): void
39+
public function setStartTimeStamp(?float $startTimeStamp): void
4040
{
4141
$this->startTimeStamp = $startTimeStamp;
4242
}

0 commit comments

Comments
 (0)