updated packages
This commit is contained in:
@@ -7,13 +7,13 @@ return function (RoutingConfigurator $routes) {
|
||||
->collection()
|
||||
->add('foo', '/foo')
|
||||
->condition('abc')
|
||||
->options(array('utf8' => true))
|
||||
->options(['utf8' => true])
|
||||
->add('buz', 'zub')
|
||||
->controller('foo:act');
|
||||
|
||||
$routes->import('php_dsl_sub.php')
|
||||
->prefix('/sub')
|
||||
->requirements(array('id' => '\d+'));
|
||||
->requirements(['id' => '\d+']);
|
||||
|
||||
$routes->import('php_dsl_sub.php')
|
||||
->namePrefix('z_')
|
||||
@@ -23,7 +23,7 @@ return function (RoutingConfigurator $routes) {
|
||||
->prefix('/bus', false);
|
||||
|
||||
$routes->add('ouf', '/ouf')
|
||||
->schemes(array('https'))
|
||||
->methods(array('GET'))
|
||||
->defaults(array('id' => 0));
|
||||
->schemes(['https'])
|
||||
->methods(['GET'])
|
||||
->defaults(['id' => 0]);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user