Various code cleanup.

This commit is contained in:
James Cole
2025-10-05 12:57:58 +02:00
parent 072212c112
commit 6341743cf9
169 changed files with 482 additions and 305 deletions

View File

@@ -30,6 +30,7 @@ use Carbon\Exceptions\InvalidFormatException;
use FireflyIII\Exceptions\FireflyException;
use Illuminate\Support\Facades\Log;
use Safe\Exceptions\PcreException;
use function Safe\preg_match;
/**
@@ -72,8 +73,11 @@ class ParseDateString
}
/**
* @throws FireflyException
* @param string $date
*
* @return Carbon
* @throws FireflyException
* @throws PcreException
* @SuppressWarnings("PHPMD.NPathComplexity")
*/
public function parseDate(string $date): Carbon