From acf2c4b5c49529920d35deec79c286b010e08294 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 23 Jul 2017 11:19:50 +0200 Subject: [PATCH] Fix code style issue See #2350 --- .../lib/data/devtools/project/DevtoolsProjectAction.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/devtools/project/DevtoolsProjectAction.class.php b/wcfsetup/install/files/lib/data/devtools/project/DevtoolsProjectAction.class.php index 67735aae31..cd0fd01a50 100644 --- a/wcfsetup/install/files/lib/data/devtools/project/DevtoolsProjectAction.class.php +++ b/wcfsetup/install/files/lib/data/devtools/project/DevtoolsProjectAction.class.php @@ -106,7 +106,7 @@ class DevtoolsProjectAction extends AbstractDatabaseObjectAction { $iteration = 1; while (in_array($name, $projectNames)) { - $name = $directory . ' (' . $iteration++ . ')'; + $name = $directory . ' (' . ($iteration++) . ')'; } (new DevtoolsProjectAction([], 'create', ['data' => [ -- 2.20.1