Skip to content

Commit 89fca43

Browse files
authored
Laravel 9 style fixes (#330)
* more stytle fixes * fix style fix type * another style fix
1 parent f9fbf94 commit 89fca43

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed

src/Http/Controllers/ExportTasksController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class ExportTasksController extends Controller
1414

1515
/**
1616
* ExportTasksController constructor.
17+
*
1718
* @param TaskInterface $tasks
1819
*/
1920
public function __construct(TaskInterface $tasks)

src/Http/Controllers/ImportTasksController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class ImportTasksController extends Controller
1515

1616
/**
1717
* ImportTasksController constructor.
18+
*
1819
* @param TaskInterface $tasks
1920
*/
2021
public function __construct(TaskInterface $tasks)

src/Http/Controllers/TasksController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function create(): View
7474
/**
7575
* Store a newly created task in storage.
7676
*
77-
* @param TaskRequest $request
77+
* @param TaskRequest $request
7878
* @return RedirectResponse
7979
*/
8080
public function store(TaskRequest $request): RedirectResponse

src/Traits/FrontendSortable.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@
77
trait FrontendSortable
88
{
99
/**
10-
* @param Builder $builder
11-
* @param array $sortableColumns
12-
* @param array $defaultSort
13-
*
10+
* @param Builder $builder
11+
* @param array $sortableColumns
12+
* @param array $defaultSort
1413
* @return Builder
1514
*/
1615
public function scopeSortableBy(Builder $builder, array $sortableColumns, array $defaultSort = ['name' => 'asc']): Builder

src/Traits/HasFrequencies.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function getCronExpression(): string
122122
/**
123123
* Determine if the filters pass for the event.
124124
*
125-
* @param Application $app
125+
* @param Application $app
126126
* @return bool
127127
*/
128128
public function filtersPass(Application $app): bool
@@ -145,7 +145,7 @@ public function filtersPass(Application $app): bool
145145
/**
146146
* Register a callback to further filter the schedule.
147147
*
148-
* @param Closure $callback
148+
* @param Closure $callback
149149
* @return $this
150150
*/
151151
public function when(Closure $callback): static

tests/Feature/ViewDashboardTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public function view_dashboard_multiple_tasks_with_multiple_results()
8080
}
8181

8282
/**
83-
* @param int $task_count
84-
* @param int $result_count
83+
* @param int $task_count
84+
* @param int $result_count
8585
* @return mixed
8686
*/
8787
private function _get_task_with_results($task_count = 1, $result_count = 1)

0 commit comments

Comments
 (0)