Correcting Max's eggrigious typos

Co-Authored-By: maxime-rainville <maxime@rainville.me>
This commit is contained in:
Guy Marriott 2018-12-13 13:50:35 +13:00 committed by GitHub
parent 6e214e2e8b
commit 87b74b9cc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1285,9 +1285,9 @@ warnings:
'days_between()':
message: 'Removed SilverStripe\ORM\FieldType\DBDate->days_between()'
'SilverStripe\Control\Session::get_all()':
message: 'Session can not be access statically and `get_all()` is now called `getAll()'
message: 'Session can not be accessed statically and `get_all()` is now called `getAll()'
'SilverStripe\Control\Session::clear_all()':
message: 'Session can not be access statically and `clear_all()` is now called `clearAll()'
message: 'Session can not be accessed statically and `clear_all()` is now called `clearAll()'
props:
'class':
message: '$this->class access has been removed'

View File

@ -9,7 +9,7 @@ use SilverStripe\Dev\Deprecation;
/**
* Handles all manipulation of the session.
*
* An instance of `Session` object can be retrieve via an `HTTPRequest` by calling the `getSession()` method.
* An instance of a `Session` object can be retrieved via an `HTTPRequest` by calling the `getSession()` method.
*
* In order to support things like testing, the session is associated with a particular Controller. In normal usage,
* this is loaded from and saved to the regular PHP session, but for things like static-page-generation and