Download & Extend

Add default parameter to PhpassHashedPassword constructor

Project:Drupal core
Version:8.x-dev
Component:user system
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

This is a follow up issue to #1463624-45: Move password.inc into DIC. As suggested by Rob Loach, a default parameter should be added to the constructor of PhpassHashedPassword. By also using a constant instead of a naked value, we also regain the advantage that we can document it appropriately in a doxygen comment (instead of an unprocessed plain comment in CoreBundle.php as it is now).

AttachmentSizeStatusTest resultOperations
log2-count-as-default-argument.patch2.35 KBIdlePASSED: [[SimpleTest]]: [MySQL] 48,756 pass(es).View details | Re-test