aboutsummaryrefslogtreecommitdiff
path: root/app/class
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2020-04-20 20:24:44 +0200
committerVincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com>2020-04-21 14:56:53 +0200
commit6a002dde678907abc355e3afecc3b67da866f8cd (patch)
tree5ec0d15161cffa967351166281aa8f34b4f2742e /app/class
parent618b22ab217b773d18abfce8bfe4dd6960738371 (diff)
downloadwcms-6a002dde678907abc355e3afecc3b67da866f8cd.tar.gz
wcms-6a002dde678907abc355e3afecc3b67da866f8cd.zip
tests: add exception phpstan extensions
Diffstat (limited to 'app/class')
-rw-r--r--app/class/Routes.php3
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()
{