mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #4491 from spekulatius/remove-tailing-spaces
remove tailing spaces in the codebase
This commit is contained in:
commit
afda43e6ab
@ -15,7 +15,7 @@ interface Cookie_Backend {
|
|||||||
* @param array $cookies The existing cookies to load into the cookie jar
|
* @param array $cookies The existing cookies to load into the cookie jar
|
||||||
*/
|
*/
|
||||||
public function __construct($cookies = array());
|
public function __construct($cookies = array());
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set a cookie
|
* Set a cookie
|
||||||
*
|
*
|
||||||
@ -28,7 +28,7 @@ interface Cookie_Backend {
|
|||||||
* @param boolean $httpOnly Prevent the cookie being accessible by JS
|
* @param boolean $httpOnly Prevent the cookie being accessible by JS
|
||||||
*/
|
*/
|
||||||
public function set($name, $value, $expiry = 90, $path = null, $domain = null, $secure = false, $httpOnly = true);
|
public function set($name, $value, $expiry = 90, $path = null, $domain = null, $secure = false, $httpOnly = true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the cookie value by name
|
* Get the cookie value by name
|
||||||
*
|
*
|
||||||
@ -38,7 +38,7 @@ interface Cookie_Backend {
|
|||||||
* @return string|null The cookie value or null if unset
|
* @return string|null The cookie value or null if unset
|
||||||
*/
|
*/
|
||||||
public function get($name, $includeUnsent = true);
|
public function get($name, $includeUnsent = true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get all the cookies
|
* Get all the cookies
|
||||||
*
|
*
|
||||||
@ -46,7 +46,7 @@ interface Cookie_Backend {
|
|||||||
* @return array All the cookies
|
* @return array All the cookies
|
||||||
*/
|
*/
|
||||||
public function getAll($includeUnsent = true);
|
public function getAll($includeUnsent = true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Force the expiry of a cookie by name
|
* Force the expiry of a cookie by name
|
||||||
*
|
*
|
||||||
|
@ -15,7 +15,7 @@ class FlushRequestFilter implements RequestFilter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function postRequest(SS_HTTPRequest $request, SS_HTTPResponse $response, DataModel $model) {
|
public function postRequest(SS_HTTPRequest $request, SS_HTTPResponse $response, DataModel $model) {
|
||||||
return true;
|
return true;
|
||||||
|
@ -180,11 +180,11 @@ class Injector {
|
|||||||
* @var Factory
|
* @var Factory
|
||||||
*/
|
*/
|
||||||
protected $objectCreator;
|
protected $objectCreator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Locator for determining Config properties for services
|
* Locator for determining Config properties for services
|
||||||
*
|
*
|
||||||
* @var ServiceConfigurationLocator
|
* @var ServiceConfigurationLocator
|
||||||
*/
|
*/
|
||||||
protected $configLocator;
|
protected $configLocator;
|
||||||
|
|
||||||
|
@ -9,11 +9,11 @@
|
|||||||
* @subpackage injector
|
* @subpackage injector
|
||||||
*/
|
*/
|
||||||
class ServiceConfigurationLocator {
|
class ServiceConfigurationLocator {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Finds the Injector config for a named service.
|
* Finds the Injector config for a named service.
|
||||||
*
|
*
|
||||||
* @param string $name
|
* @param string $name
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user