apply changes from php-cs-fixer v2.18.0
This commit is contained in:
parent
338ac81e05
commit
62ac94c058
4 changed files with 5 additions and 5 deletions
|
@ -38,7 +38,7 @@ abstract class Controller extends \Flake\Core\FLObject {
|
|||
return $this->aParams;
|
||||
}
|
||||
|
||||
static function link(/*[$sParam, $sParam2, ...]*/) {
|
||||
static function link(/*[$sParam, $sParam2, ...]*/ ) {
|
||||
return static::buildRoute();
|
||||
}
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ abstract class Router extends \Flake\Core\FLObject {
|
|||
return $GLOBALS["ROUTER"]::buildRoute($sRouteForController, $aRewrittenParams);
|
||||
}
|
||||
|
||||
static function buildCurrentRoute(/*[$sParam, $sParam2, ...]*/) {
|
||||
static function buildCurrentRoute(/*[$sParam, $sParam2, ...]*/ ) {
|
||||
$aParams = func_get_args();
|
||||
$sCurrentRoute = $GLOBALS["ROUTER"]::getCurrentRoute();
|
||||
|
||||
|
@ -128,7 +128,7 @@ abstract class Router extends \Flake\Core\FLObject {
|
|||
|
||||
# this method is likely to change with every Router implementation
|
||||
# should be abstract, but is not, because of PHP's strict standards
|
||||
static function buildRoute($sRoute, $aParams/* [, $sParam, $sParam2, ...] */) {
|
||||
static function buildRoute($sRoute, $aParams/* [, $sParam, $sParam2, ...] */ ) {
|
||||
}
|
||||
|
||||
# should be abstract, but is not, because of PHP's strict standards
|
||||
|
|
|
@ -55,7 +55,7 @@ class QuestionMarkRewrite extends \Flake\Util\Router {
|
|||
return array_shift($aBestMatches); // first route amongst best matches
|
||||
}
|
||||
|
||||
static function buildRoute($sRoute, $aParams = []/* [, $sParam, $sParam2, ...] */) {
|
||||
static function buildRoute($sRoute, $aParams = []/* [, $sParam, $sParam2, ...] */ ) {
|
||||
# $aParams = func_get_args();
|
||||
# array_shift($aParams); # Stripping $sRoute
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"symfony/yaml" : "^3.4"
|
||||
},
|
||||
"require-dev" : {
|
||||
"friendsofphp/php-cs-fixer": "^2.17"
|
||||
"friendsofphp/php-cs-fixer": "^2.18"
|
||||
},
|
||||
"replace" : {
|
||||
"jeromeschneider/baikal" : "self.version"
|
||||
|
|
Loading…
Reference in a new issue