Skip to content

Commit dd57ac0

Browse files
committed
5050: Code style fixes
1 parent c51d46f commit dd57ac0

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Service/ImportInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ interface ImportInterface
1212
* @param string $src
1313
* Path to the source
1414
*/
15-
public function import(string $src, ProgressBar $progressBar = null): void;
15+
public function import(string $src, ?ProgressBar $progressBar = null): void;
1616
}

src/Service/ReportImporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class ReportImporter extends BaseImporter
99
{
10-
public function import(string $src, ProgressBar $progressBar = null): void
10+
public function import(string $src, ?ProgressBar $progressBar = null): void
1111
{
1212
$systemURL = getenv('SYSTEM_URL');
1313

src/Service/SystemImporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function __construct(
2222
parent::__construct($reportRepository, $systemRepository, $groupRepository, $entityManager);
2323
}
2424

25-
public function import(string $src, ProgressBar $progressBar = null): void
25+
public function import(string $src, ?ProgressBar $progressBar = null): void
2626
{
2727
$systemURL = getenv('SYSTEM_URL');
2828

0 commit comments

Comments
 (0)