Skip to content

Commit 8cdb92a

Browse files
committed
minor #19651 [Clock] update method names to reflect latest code changes (xabbuh)
This PR was merged into the 7.1 branch. Discussion ---------- [Clock] update method names to reflect latest code changes see symfony/symfony#54184 Commits ------- ea8efb0 update method names to reflect latest code changes
2 parents aa56d69 + ea8efb0 commit 8cdb92a

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)