Skip to content

Commit 7fc2f26

Browse files
committed
Apply migration constructor styling
1 parent 6c2c7a3 commit 7fc2f26

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/Filesystem/MigrationFile.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ class MigrationFile
1010
/**
1111
* Create a new migration file instance.
1212
*/
13-
public function __construct(protected string $filePath) {}
13+
public function __construct(
14+
protected string $filePath
15+
) {}
1416

1517
/**
1618
* Get the migration file name without its extension.

tests/migrations/2018_12_01_081000_create_test_index.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ class CreateTestIndex implements MigrationInterface
1111
/**
1212
* Create a new test index migration instance.
1313
*/
14-
public function __construct(protected Client $client) {}
14+
public function __construct(
15+
protected Client $client
16+
) {}
1517

1618
public function up(): void
1719
{

0 commit comments

Comments
 (0)