1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Update WebAppView.php

Added argument type hinting where absent.
This commit is contained in:
Daniël Klabbers
2017-06-22 16:27:10 +02:00
committed by GitHub
parent d46fd7805c
commit e5efc5e758

View File

@@ -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)