From 66db9e8761557c45cb813f249e51aa779d651f28 Mon Sep 17 00:00:00 2001 From: Oleg Zhulnev Date: Tue, 30 Jan 2024 00:11:25 +0300 Subject: [PATCH] Add Router.stub and allow to accept string as $url argument --- extension.neon | 1 + stubs/Routing/Router.stub | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 stubs/Routing/Router.stub diff --git a/extension.neon b/extension.neon index 602d91b..eb15a24 100644 --- a/extension.neon +++ b/extension.neon @@ -9,6 +9,7 @@ parameters: schemaPaths: - app/Config/Schema/*.php stubFiles: + - stubs/Routing/Router.stub - stubs/Utility.stub services: - class: PHPStanCakePHP2\ClassComponentsExtension diff --git a/stubs/Routing/Router.stub b/stubs/Routing/Router.stub new file mode 100644 index 0000000..36250c0 --- /dev/null +++ b/stubs/Routing/Router.stub @@ -0,0 +1,9 @@ +