File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments