Skip to content

Commit 0a6b743

Browse files
committed
Constants are meant to be scoped.
1 parent 7f1917f commit 0a6b743

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/LdapSyncCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,13 @@ class LdapSyncCommand extends Command
174174
*/
175175

176176
/** @var string User's configuration file name. */
177-
const CONFIG_FILE_NAME = "config.yml";
177+
public const CONFIG_FILE_NAME = "config.yml";
178178

179179
/** @var string Distributed configuration file name. */
180-
const CONFIG_FILE_DIST_NAME = "config.yml.dist";
180+
public const CONFIG_FILE_DIST_NAME = "config.yml.dist";
181181

182-
/** @var int Wait this long (in microseconds) between Gitlab API calls to avoid flooding. */
183-
const API_COOL_DOWN_USECONDS = 100000;
182+
/** @var non-negative-int Wait this long (in microseconds) between Gitlab API calls to avoid flooding. */
183+
public const API_COOL_DOWN_USECONDS = 100000;
184184

185185

186186

0 commit comments

Comments
 (0)