mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
fix: SA: Fix "...invoked with..." rule.
SA stands for Static Analysis.
This commit is contained in:
@@ -494,6 +494,7 @@ EOF
|
||||
$openingDateString = trim($row[array_search('opening_date', $headers)]);
|
||||
$openingDate = $this->processDate($openingDateString, $this->input->getOption('opening_date_format'));
|
||||
|
||||
// @TODO: Fix the constructor parameter, $openingDate does not exists.
|
||||
$person = $openingDate instanceof \DateTime ? new Person($openingDate) : new Person();
|
||||
// add the center
|
||||
$center = $this->getCenter($row, $headers);
|
||||
|
Reference in New Issue
Block a user