refactor: fix bad return types with Psalter (#2435)
This commit is contained in:
committed by
Alexis Saettler
parent
e04de7e101
commit
684ce6bc56
@@ -16,7 +16,7 @@ class JournalController extends Controller
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
* @return \Illuminate\View\View|\Illuminate\Contracts\View\Factory
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
@@ -106,9 +106,10 @@ class JournalController extends Controller
|
||||
|
||||
/**
|
||||
* Delete the Day entry.
|
||||
* @return mixed
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function trashDay(Day $day)
|
||||
public function trashDay(Day $day): void
|
||||
{
|
||||
$day->deleteJournalEntry();
|
||||
$day->delete();
|
||||
@@ -130,7 +131,7 @@ class JournalController extends Controller
|
||||
/**
|
||||
* Display the Create journal entry screen.
|
||||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
* @return \Illuminate\View\View|\Illuminate\Contracts\View\Factory
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user