diff options
author | n-peugnet <n.peugnet@free.fr> | 2020-04-20 20:24:44 +0200 |
---|---|---|
committer | Vincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com> | 2020-04-21 14:56:53 +0200 |
commit | 6a002dde678907abc355e3afecc3b67da866f8cd (patch) | |
tree | 5ec0d15161cffa967351166281aa8f34b4f2742e /app | |
parent | 618b22ab217b773d18abfce8bfe4dd6960738371 (diff) | |
download | wcms-6a002dde678907abc355e3afecc3b67da866f8cd.tar.gz wcms-6a002dde678907abc355e3afecc3b67da866f8cd.zip |
tests: add exception phpstan extensions
Diffstat (limited to 'app')
-rw-r--r-- | app/class/Routes.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/class/Routes.php b/app/class/Routes.php index c58de95..2a1e088 100644 --- a/app/class/Routes.php +++ b/app/class/Routes.php @@ -3,11 +3,14 @@ namespace Wcms; use AltoRouter; +use Exception; class Routes { /** * Cherche une correspondance entre l'URL et les routes, et appelle la méthode appropriée + * + * @throws Exception if addRoutes fails (maybe it should be catched). */ public function match() { |