The documentation code for PrivateKey::__construct() says:

Constructs the token generator.

That class is not the token generator, so the documentation comment for that constructor needs to be changed. The following should be more adapt, since the PrivateKey class is described as Manages the Drupal private key.

Constructs the private key object.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kiamlaluno created an issue. See original summary.

apaderno’s picture

Issue summary: View changes
apaderno’s picture

Status: Active » Needs review
Issue tags: +Novice
FileSize
440 bytes
init90’s picture

Status: Needs review » Reviewed & tested by the community

Looks good, thanks!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed 2ad2d872f9 to 9.0.x and 6bea4b28e3 to 8.9.x and 3e07da4a78 to 8.8.x. Thanks!

  • alexpott committed 2ad2d87 on 9.0.x
    Issue #3118439 by kiamlaluno: PrivateKey::__construct() describes itself...

  • alexpott committed 6bea4b2 on 8.9.x
    Issue #3118439 by kiamlaluno: PrivateKey::__construct() describes itself...

  • alexpott committed 3e07da4 on 8.8.x
    Issue #3118439 by kiamlaluno: PrivateKey::__construct() describes itself...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.