[DOCS] Member::logInAs is not a valid example

Member::logInAs doesn't exist as a static function.

Additionally, `logInAs` does exist as a function in SapphireTest.php, so, should this be updated to also use `Member::actAs` for consistency?
This commit is contained in:
Matt Clegg 2020-03-31 18:20:21 +05:45 committed by GitHub
parent 5952a7ce71
commit e80f1b2b83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -790,7 +790,7 @@ class Member extends DataObject
*
* E.g.
* <code>
* Member::logInAs(Security::findAnAdministrator(), function() {
* Member::actAs(Security::findAnAdministrator(), function() {
* $record->write();
* });
* </code>