aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-02-17 16:26:10 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-02-17 16:26:10 +0100
commit9b24edd1ff617040f0903a56690e3f3c053fc3da (patch)
treeb3443c21a0fb8ed2808f627524ca16f5cf207644
parent4494aba5cb79f15c9896e5ccbc306838967544f8 (diff)
downloadRouter-9b24edd1ff617040f0903a56690e3f3c053fc3da.zip
Router-9b24edd1ff617040f0903a56690e3f3c053fc3da.tar.gz
Router-9b24edd1ff617040f0903a56690e3f3c053fc3da.tar.bz2
Sort HTTP methods to ease the reading.
-rw-r--r--Http/Http.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/Http/Http.php b/Http/Http.php
index 719a261..c5020ff 100644
--- a/Http/Http.php
+++ b/Http/Http.php
@@ -99,13 +99,13 @@ class Http extends Router\Generic implements Core\Parameter\Parameterizable {
* @var \Hoa\Router\Http array
*/
protected static $_methods = [
- 'get',
- 'post',
- 'put',
- 'patch',
'delete',
+ 'get',
'head',
- 'options'
+ 'options',
+ 'patch',
+ 'post',
+ 'put'
];
/**