File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -238,8 +238,8 @@ The constructor also allows setting a timezone or custom referenced date::
238
238
``DatePoint `` also allows to set and get the microsecond part of the date and time::
239
239
240
240
$datePoint = new DatePoint();
241
- $datePoint->setMicroseconds (345);
242
- $microseconds = $datePoint->getMicroseconds ();
241
+ $datePoint->setMicrosecond (345);
242
+ $microseconds = $datePoint->getMicrosecond ();
243
243
244
244
.. note ::
245
245
@@ -248,8 +248,8 @@ The constructor also allows setting a timezone or custom referenced date::
248
248
249
249
.. versionadded :: 7.1
250
250
251
- The :method: `Symfony\\ Component\\ Clock\\ DatePoint::setMicroseconds ` and
252
- :method: `Symfony\\ Component\\ Clock\\ DatePoint::getMicroseconds ` methods were
251
+ The :method: `Symfony\\ Component\\ Clock\\ DatePoint::setMicrosecond ` and
252
+ :method: `Symfony\\ Component\\ Clock\\ DatePoint::getMicrosecond ` methods were
253
253
introduced in Symfony 7.1.
254
254
255
255
.. _clock_writing-tests :
You can’t perform that action at this time.
0 commit comments