Skip to content

Commit ea8efb0

Browse files
committed
update method names to reflect latest code changes
1 parent 66cd628 commit ea8efb0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/clock.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ The constructor also allows setting a timezone or custom referenced date::
238238
``DatePoint`` also allows to set and get the microsecond part of the date and time::
239239

240240
$datePoint = new DatePoint();
241-
$datePoint->setMicroseconds(345);
242-
$microseconds = $datePoint->getMicroseconds();
241+
$datePoint->setMicrosecond(345);
242+
$microseconds = $datePoint->getMicrosecond();
243243

244244
.. note::
245245

@@ -248,8 +248,8 @@ The constructor also allows setting a timezone or custom referenced date::
248248

249249
.. versionadded:: 7.1
250250

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
253253
introduced in Symfony 7.1.
254254

255255
.. _clock_writing-tests:

0 commit comments

Comments
 (0)