Meta files for new release.

This commit is contained in:
James Cole
2023-05-13 06:34:12 +02:00
parent 72eab3c0eb
commit a3ede0c6f6
42 changed files with 622 additions and 713 deletions

View File

@@ -47,7 +47,7 @@ class CreateFirstUser extends Command
*
* @var string
*/
protected $signature = 'firefly-iii:create-first-user {email}';
protected $signature = 'firefly-iii:create-first-user {email}';
private UserRepositoryInterface $repository;
/**

View File

@@ -51,7 +51,6 @@ use Illuminate\Support\Facades\Log;
*/
class ForceDecimalSize extends Command
{
protected $description = 'This command resizes DECIMAL columns in MySQL or PostgreSQL and correct amounts (only MySQL).';
protected $signature = 'firefly-iii:force-decimal-size';
private string $cast;
@@ -169,7 +168,7 @@ class ForceDecimalSize extends Command
});
}
if (!in_array((string)config('database.default'), ['mysql', 'pgsql', 'sqlite'])) {
if (!in_array((string)config('database.default'), ['mysql', 'pgsql', 'sqlite'], true)) {
$this->line(sprintf('Skip correcting amounts, does not support "%s"...', (string)config('database.default')));
return;
}