We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0eee03 commit bd6e048Copy full SHA for bd6e048
3 files changed
.github/workflows/lint.yml
.github/workflows/pint.yaml
@@ -0,0 +1,24 @@
1
+name: Fix PHP Styling
2
+
3
+on:
4
+ push:
5
6
+jobs:
7
+ lint-code-styling:
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - name: Checkout code
12
+ uses: actions/checkout@v3
13
14
+ - name: Fix styling issues
15
+ uses: aglipanci/laravel-pint-action@v2
16
+ with:
17
+ testMode: true
18
+ verboseMode: true
19
+ pintVersion: 1.22.1
20
21
+ - name: Commit changes
22
+ uses: stefanzweifel/git-auto-commit-action@v4
23
24
+ commit_message: Fix styling
src/WithPagination.php
@@ -8,7 +8,7 @@ trait WithPagination
public function withPagination($key, $paginator): array
{
- return [
+ return [
$key => $paginator->items(),
'links' => $paginator->render(),
];
0 commit comments