Closed Rantignac closed 5 years ago
In all controllers, the HTTP method value is hard-coded example: 'method' => 'put' the best would be replaced this value by a constant like this : 'method' => Request::METHOD_PUT
example: 'method' => 'put'
'method' => Request::METHOD_PUT
Description
In all controllers, the HTTP method value is hard-coded
example: 'method' => 'put'
the best would be replaced this value by a constant like this :'method' => Request::METHOD_PUT