diff options
author | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2015-02-17 16:26:10 +0100 |
---|---|---|
committer | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2015-02-17 16:26:10 +0100 |
commit | 9b24edd1ff617040f0903a56690e3f3c053fc3da (patch) | |
tree | b3443c21a0fb8ed2808f627524ca16f5cf207644 /Http | |
parent | 4494aba5cb79f15c9896e5ccbc306838967544f8 (diff) | |
download | Router-9b24edd1ff617040f0903a56690e3f3c053fc3da.zip Router-9b24edd1ff617040f0903a56690e3f3c053fc3da.tar.gz Router-9b24edd1ff617040f0903a56690e3f3c053fc3da.tar.bz2 |
Sort HTTP methods to ease the reading.
Diffstat (limited to 'Http')
-rw-r--r-- | Http/Http.php | 10 |
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' ]; /** |