refactor: fix bad return types with Psalter (#2435)

This commit is contained in:
Matthew Brown
2019-02-16 13:20:28 -05:00
committed by Alexis Saettler
parent e04de7e101
commit 684ce6bc56
90 changed files with 774 additions and 503 deletions
+5 -4
View File
@@ -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()
{