Improve exception handling and model binding
This commit is contained in:
parent
e9ca934cb4
commit
0fca80e7e4
22 changed files with 148 additions and 82 deletions
|
@ -9,9 +9,9 @@ class SessionStoreController extends Controller
|
|||
/**
|
||||
* Save the selected colour scheme in the session.
|
||||
*
|
||||
* @return \Illuminate\Http\JsonResponse
|
||||
* @return string[]
|
||||
*/
|
||||
public function saveColour()
|
||||
public function saveColour(): array
|
||||
{
|
||||
$css = request()->input('css');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue