mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 09:11:40 +08:00
Update WebAppView.php
Added argument type hinting where absent.
This commit is contained in:
parent
d46fd7805c
commit
e5efc5e758
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user