1
0
mirror of https://github.com/flarum/core.git synced 2025-07-17 23:01:17 +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 877aed215b
commit d6c99eccdb

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)