Skip to content
Snippets Groups Projects
Commit bf21c1a4 authored by Rakesh Kumar Regar's avatar Rakesh Kumar Regar Committed by Patrick Kenny
Browse files

Issue #3520457 by ptmkenny, abdulaziz zaid: PHP7: ParseError on module enable

parent 696feddd
No related branches found
No related tags found
1 merge request!29Issue #3520457 :PHP ParseError on module enable: Unexpected ')'.
Pipeline #487878 passed with warnings
......@@ -25,3 +25,5 @@ include:
################
variables:
_CSPELL_WORDS: 'Acolad,Apard,Développements,Raphaël,slootjes'
OPT_IN_TEST_CURRENT: '0'
OPT_IN_TEST_PREVIOUS_MAJOR: '1'
......@@ -84,7 +84,7 @@ class RenameAdminPathsEventSubscriber implements EventSubscriberInterface {
private function alterRouteCollection(
RouteCollection $routeCollection,
string $from,
string $to,
string $to
): void {
foreach ($routeCollection as $route) {
$this->replaceRoutePath($route, $from, $to);
......@@ -104,7 +104,7 @@ class RenameAdminPathsEventSubscriber implements EventSubscriberInterface {
private function replaceRoutePath(
Route $route,
string $from,
string $to,
string $to
): void {
if ($this->matchRouteByPath($route, $from)) {
$route->setPath(
......
......@@ -61,7 +61,7 @@ class RenameAdminPathsSettingsForm extends ConfigFormBase {
public function __construct(
Config $config,
RouteBuilderInterface $routeBuilder,
TranslationInterface $stringTranslation,
TranslationInterface $stringTranslation
) {
$this->config = $config;
$this->routeBuilder = $routeBuilder;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment