Skip to content

Commit d6e0c70

Browse files
committed
Execute command can no longer return null, must be an integer.
1 parent 89abf0f commit d6e0c70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LdapSyncCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,9 @@ public function configure(): void
241241
* @param InputInterface $input Input interface
242242
* @param OutputInterface $output Output interface
243243
*
244-
* @return int|null Error code, or null/zero for success
244+
* @return int Error code, or null/zero for success
245245
*/
246-
public function execute(InputInterface $input, OutputInterface $output): ?int
246+
public function execute(InputInterface $input, OutputInterface $output): int
247247
{
248248
$this->output = $output;
249249
$this->logger = new ConsoleLogger($output);

0 commit comments

Comments
 (0)