Skip to content

Commit cca41eb

Browse files
committed
Style fixes
1 parent 85d1e44 commit cca41eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Task.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function results(): HasMany
146146
*
147147
* @return Result|null
148148
*/
149-
public function getLastResultAttribute(): Result|null
149+
public function getLastResultAttribute(): ?Result
150150
{
151151
return $this->results()->orderBy('id', 'desc')->first();
152152
}

tests/Feature/ViewDashboardTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ public function test_view_dashboard_multiple_tasks_with_multiple_results()
7474
}
7575

7676
/**
77-
* @param int $task_count
78-
* @param int $result_count
77+
* @param int $task_count
78+
* @param int $result_count
7979
* @return mixed
8080
*/
8181
private function _get_task_with_results(int $task_count = 1, int $result_count = 1): mixed

0 commit comments

Comments
 (0)