File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class ExternalContestSource
47
47
nullable: true ,
48
48
options: ['comment ' => 'Time of last poll by event feed reader ' , 'unsigned ' => true ]
49
49
)]
50
- private ? float $ lastPollTime = null ;
50
+ private string | float | null $ lastPollTime = null ;
51
51
52
52
#[ORM \Column(
53
53
type: 'smallint ' ,
@@ -139,12 +139,12 @@ public function setLastEventId(?string $lastEventId): ExternalContestSource
139
139
return $ this ;
140
140
}
141
141
142
- public function getLastPollTime (): ? float
142
+ public function getLastPollTime (): string | float | null
143
143
{
144
144
return $ this ->lastPollTime ;
145
145
}
146
146
147
- public function setLastPollTime (? float $ lastPollTime ): ExternalContestSource
147
+ public function setLastPollTime (string | float | null $ lastPollTime ): ExternalContestSource
148
148
{
149
149
$ this ->lastPollTime = $ lastPollTime ;
150
150
return $ this ;
You can’t perform that action at this time.
0 commit comments