mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
remove trailing spaces in the codebase
This commit is contained in:
parent
e2fbbda2fd
commit
21216b47ab
@ -18,7 +18,7 @@ interface Cookie_Backend {
|
||||
* @param array $cookies The existing cookies to load into the cookie jar
|
||||
*/
|
||||
public function __construct($cookies = array());
|
||||
|
||||
|
||||
/**
|
||||
* Set a cookie
|
||||
*
|
||||
@ -31,7 +31,7 @@ interface Cookie_Backend {
|
||||
* @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);
|
||||
|
||||
|
||||
/**
|
||||
* Get the cookie value by name
|
||||
*
|
||||
@ -41,7 +41,7 @@ interface Cookie_Backend {
|
||||
* @return string|null The cookie value or null if unset
|
||||
*/
|
||||
public function get($name, $includeUnsent = true);
|
||||
|
||||
|
||||
/**
|
||||
* Get all the cookies
|
||||
*
|
||||
@ -49,7 +49,7 @@ interface Cookie_Backend {
|
||||
* @return array All the cookies
|
||||
*/
|
||||
public function getAll($includeUnsent = true);
|
||||
|
||||
|
||||
/**
|
||||
* Force the expiry of a cookie by name
|
||||
*
|
||||
|
@ -442,7 +442,7 @@ class Director implements TemplateGlobalProvider {
|
||||
if ($url == '.' || $url == './') {
|
||||
$url = '';
|
||||
}
|
||||
|
||||
|
||||
if(strpos($url,'/') === false && !$relativeToSiteBase) {
|
||||
//if there's no URL we want to force a trailing slash on the link
|
||||
if (!$url) {
|
||||
|
@ -15,7 +15,7 @@ class FlushRequestFilter implements RequestFilter {
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public function postRequest(SS_HTTPRequest $request, SS_HTTPResponse $response, DataModel $model) {
|
||||
return true;
|
||||
|
@ -378,7 +378,7 @@ class HTTP {
|
||||
// (http://support.microsoft.com/kb/323308)
|
||||
// Note: this is also fixable by ticking "Do not save encrypted pages to disk" in advanced options.
|
||||
$cacheControlHeaders['max-age'] = 3;
|
||||
|
||||
|
||||
// Set empty pragma to avoid PHP's session_cache_limiter adding conflicting caching information,
|
||||
// defaulting to "nocache" on most PHP configurations (see http://php.net/session_cache_limiter).
|
||||
// Since it's a deprecated HTTP 1.0 option, all modern HTTP clients and proxies should
|
||||
|
@ -180,11 +180,11 @@ class Injector {
|
||||
* @var Factory
|
||||
*/
|
||||
protected $objectCreator;
|
||||
|
||||
|
||||
/**
|
||||
* Locator for determining Config properties for services
|
||||
*
|
||||
* @var ServiceConfigurationLocator
|
||||
*
|
||||
* @var ServiceConfigurationLocator
|
||||
*/
|
||||
protected $configLocator;
|
||||
|
||||
|
@ -9,11 +9,11 @@
|
||||
* @subpackage injector
|
||||
*/
|
||||
class ServiceConfigurationLocator {
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Finds the Injector config for a named service.
|
||||
*
|
||||
*
|
||||
* @param string $name
|
||||
* @return mixed
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user