mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-13 15:18:41 +00:00
Fix type bug
This commit is contained in:
parent
cd8f4945e6
commit
df2bd5b624
|
|
@ -91,7 +91,7 @@ final class Router
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public function route(string $request, int $verb = RouteVerb::GET, string $app = '', string $orgId = '', $account = null) : array
|
public function route(string $request, int $verb = RouteVerb::GET, string $app = '', int $orgId = 1, $account = null) : array
|
||||||
{
|
{
|
||||||
$bound = [];
|
$bound = [];
|
||||||
foreach ($this->routes as $route => $destination) {
|
foreach ($this->routes as $route => $destination) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user