Skip to content

Commit

Permalink
Merge pull request #212 from kitloong/feature/type
Browse files Browse the repository at this point in the history
Update return type
  • Loading branch information
kitloong authored Apr 23, 2024
2 parents 5304d12 + 34a7ee5 commit 8853236
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Alter MySQL 8 root plugin
run: |
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
run: vendor/bin/phpunit --coverage-clover=coverage.xml

- name: Upload to codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
files: coverage.xml
8 changes: 2 additions & 6 deletions stubs/migration.generate.stub
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,16 @@ return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
public function up(): void
{
{{ up }}
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
public function down(): void
{
{{ down }}
}
Expand Down

0 comments on commit 8853236

Please sign in to comment.