mirror of
https://github.com/flarum/core.git
synced 2025-07-17 14:51:19 +02:00
Update WebAppView.php
Added argument type hinting where absent.
This commit is contained in:
@@ -415,6 +415,7 @@ class WebAppView
|
||||
/**
|
||||
* Get the result of an API request to show the forum.
|
||||
*
|
||||
* @param Request $request
|
||||
* @return array
|
||||
*/
|
||||
protected function getForumDocument(Request $request)
|
||||
@@ -429,6 +430,7 @@ class WebAppView
|
||||
/**
|
||||
* Get the result of an API request to show the current user.
|
||||
*
|
||||
* @param Request $request
|
||||
* @return array
|
||||
*/
|
||||
protected function getUserDocument(Request $request)
|
||||
@@ -447,6 +449,7 @@ class WebAppView
|
||||
/**
|
||||
* Get information about the current session.
|
||||
*
|
||||
* @param Request $request
|
||||
* @return array
|
||||
*/
|
||||
protected function buildSession(Request $request)
|
||||
|
Reference in New Issue
Block a user