Skip to content

Commit 6e81421

Browse files
Merge pull request #18 from TheDragonCode/code-style-gm5663u
The code style has been fixed
2 parents 99d0cf3 + 60a986b commit 6e81421

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
"dragon-code/codestyler": true,
6868
"ergebnis/composer-normalize": true,
6969
"friendsofphp/php-cs-fixer": true,
70+
"laravel/pint": true,
7071
"pestphp/pest-plugin": true,
7172
"symfony/thanks": true
7273
},

src/Service/Dumper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ protected function schemaState(Connection $connection): ?SchemaState
3939
{
4040
return match (true) {
4141
$connection instanceof SQLiteConnection => new SQLiteSchemaState($connection, null, null),
42-
$connection instanceof MySqlConnection => new MySqlSchemaState($connection, null, null),
42+
$connection instanceof MySqlConnection => new MySqlSchemaState($connection, null, null),
4343
$connection instanceof PostgresConnection => new PostgresSchemaState($connection, null, null),
44-
default => null
44+
default => null
4545
};
4646
}
4747

src/Service/Tables.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ protected function fromModels(Model|string|null $table): ?string
5656
return $table;
5757
}
5858

59-
return (new $table())->getTable();
59+
return (new $table)->getTable();
6060
}
6161
}

tests/Helpers/circle.php

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

55
function circleProcess(Closure $callback): void
66
{
7-
for ($i = 0; $i < 10; ++$i) {
7+
for ($i = 0; $i < 10; $i++) {
88
$callback($i);
99
}
1010
}

0 commit comments

Comments
 (0)