обновил чёто забыл уже

This commit is contained in:
2023-12-21 23:14:34 +07:00
parent 3d31c92628
commit 41bf8ab56a
7 changed files with 9 additions and 7 deletions

4
mirzaev/minimal/system/core.php Normal file → Executable file
View File

@@ -90,9 +90,9 @@ final class core
*
* @param ?string $uri Маршрут
*
* @return ?string Сгенерированный ответ (HTML, JSON...)
* @return string|int|null Ответ
*/
public function start(string $uri = null): ?string
public function start(string $uri = null): string|int|null
{
// Обработка запроса
return $this->__get('router')->handle($uri, core: $this);