mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 12:11:19 +00:00
Fix various phpstan issues.
This commit is contained in:
@@ -33,7 +33,7 @@ class DatabaseSeeder extends Seeder
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
$this->call(AccountTypeSeeder::class);
|
||||
$this->call(TransactionCurrencySeeder::class);
|
||||
|
@@ -35,8 +35,6 @@ use Illuminate\Support\Collection;
|
||||
*/
|
||||
class ExchangeRateSeeder extends Seeder
|
||||
{
|
||||
private Collection $users;
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
|
@@ -32,7 +32,10 @@ use PDOException;
|
||||
*/
|
||||
class LinkTypeSeeder extends Seeder
|
||||
{
|
||||
public function run()
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
$types = [
|
||||
[
|
||||
|
@@ -32,7 +32,7 @@ use PDOException;
|
||||
*/
|
||||
class PermissionSeeder extends Seeder
|
||||
{
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
$roles = [
|
||||
[
|
||||
|
@@ -34,7 +34,7 @@ class TransactionCurrencySeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
$currencies = [];
|
||||
// european currencies
|
||||
|
@@ -32,7 +32,7 @@ use PDOException;
|
||||
*/
|
||||
class TransactionTypeSeeder extends Seeder
|
||||
{
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
$types = [
|
||||
TransactionType::WITHDRAWAL,
|
||||
|
Reference in New Issue
Block a user