From c672c4ed923ccb371bf6e86c5a2a157375c5679d Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 6 Mar 2018 12:17:45 +0100 Subject: [PATCH] Add patch verb in restful --- src/Config/FastRoute.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Config/FastRoute.php b/src/Config/FastRoute.php index 9435197..f3f310d 100644 --- a/src/Config/FastRoute.php +++ b/src/Config/FastRoute.php @@ -12,7 +12,7 @@ class FastRoute extends SingleValueDirectiveGroup const PUT = 4; const DELETE = 8; const PATCH = 16; - const RESTFUL = self::GET | self::POST | self::PUT | self::DELETE; + const RESTFUL = self::GET | self::POST | self::PUT | self::PATCH | self::DELETE; /** * FastRoute constructor. @@ -55,4 +55,4 @@ protected function extractMethods(int $flag) return $methods; } -} \ No newline at end of file +}