Skip to content

Commit f15700a

Browse files
committed
Explicit variable types.
1 parent dbfd9f9 commit f15700a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/LdapSyncCommand.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace AdamReece\GitlabCeLdapSync;
46

57
use Symfony\Component\Console\Input\InputArgument;
@@ -39,22 +41,22 @@ class LdapSyncCommand extends \Symfony\Component\Console\Command\Command
3941
*/
4042

4143
/** @var ConsoleLogger Console logger interface */
42-
private $logger = null;
44+
private ConsoleLogger $logger;
4345

4446
/** @var bool Debug mode */
45-
private $dryRun = false;
47+
private bool $dryRun = false;
4648

4749
/** @var bool Continue on failure: Do not abort on certain errors */
48-
private $continueOnFail = false;
50+
private bool $continueOnFail = false;
4951

5052
/** @var string Application root directory */
51-
private $rootDir = null;
53+
private string $rootDir = "";
5254

5355
/** @var string User's configuration file pathname. */
54-
private $configFilePathname = null;
56+
private string $configFilePathname = "";
5557

5658
/** @var string Distribution configuration file pathname. */
57-
private $configFileDistPathname = null;
59+
private string $configFileDistPathname = "";
5860

5961

6062

0 commit comments

Comments
 (0)