mirror of
https://github.com/flarum/framework.git
synced 2025-01-23 05:56:15 +08:00
Make getApp available to the public
This commit is contained in:
parent
033e4d0ba0
commit
c33dd73f5c
|
@ -144,7 +144,7 @@ abstract class AbstractServer
|
||||||
/**
|
/**
|
||||||
* @return Application
|
* @return Application
|
||||||
*/
|
*/
|
||||||
protected function getApp()
|
public function getApp()
|
||||||
{
|
{
|
||||||
if ($this->app !== null) {
|
if ($this->app !== null) {
|
||||||
return $this->app;
|
return $this->app;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user