1
0
mirror of https://github.com/flarum/core.git synced 2025-10-28 22:07:33 +01:00

Backend cleanup (#2859)

* Extender docblocks cleanup
* Excplicit type hinting in extenders
* Bring method under constructor
* Mark some classes and methods as internal
* Remove beta references

Co-authored-by: Clark Winkelmann <clark.winkelmann@gmail.com>
This commit is contained in:
Sami Mazouz
2021-05-13 15:26:24 +01:00
committed by GitHub
parent e3f506817b
commit 7bceda976b
59 changed files with 655 additions and 174 deletions

View File

@@ -13,6 +13,9 @@ use FastRoute\DataGenerator;
use FastRoute\RouteParser;
use Illuminate\Support\Arr;
/**
* @internal
*/
class RouteCollection
{
/**

View File

@@ -9,6 +9,9 @@
namespace Flarum\Http;
/**
* @internal
*/
class RouteCollectionUrlGenerator
{
/**

View File

@@ -16,6 +16,9 @@ use InvalidArgumentException;
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Server\RequestHandlerInterface as Handler;
/**
* @internal
*/
class RouteHandlerFactory
{
/**