Skip to content
Permalink
Browse files

Fix up PHPCS errors.

  • Loading branch information...
markstory committed Jun 24, 2015
1 parent 42d0c10 commit f6a2e355348c8c5d45e04addc0242a60aeb73f1b
Showing with 13 additions and 4 deletions.
  1. +9 −2 src/Routing/Router.php
  2. +4 −2 src/View/Widget/DateTimeWidget.php
@@ -700,8 +700,15 @@ public static function reverse($params, $full = false)
$pass = isset($params['pass']) ? $params['pass'] : [];
unset(
$params['pass'], $params['paging'], $params['models'], $params['url'], $url['url'],
$params['autoRender'], $params['bare'], $params['requested'], $params['return'],
$params['pass'],
$params['paging'],
$params['models'],
$params['url'],
$url['url'],
$params['autoRender'],
$params['bare'],
$params['requested'],
$params['return'],
$params['_Token']
);
$params = array_merge($params, $pass);
@@ -423,8 +423,10 @@ protected function _hourSelect($options, $context)
}
unset(
$options['end'], $options['start'],
$options['format'], $options['leadingZeroKey'],
$options['end'],
$options['start'],
$options['format'],
$options['leadingZeroKey'],
$options['leadingZeroValue']
);
return $this->_select->render($options, $context);

0 comments on commit f6a2e35

Please sign in to comment.
You can’t perform that action at this time.