We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_methods
methodsTable
1 parent 5e0fac2 commit 2bd04f8Copy full SHA for 2bd04f8
src/Message/AbstractRequest.php
@@ -154,7 +154,7 @@ public function setCancelMethod($value)
154
/**
155
* Redirect method conversion table.
156
*/
157
- private static $_methods = [
+ private static $methodsTable = [
158
'1' => '1',
159
'2' => '2',
160
'GET' => '0',
@@ -172,7 +172,7 @@ public function setCancelMethod($value)
172
public function formatMethod($method)
173
{
174
$method = strtoupper((string)$method);
175
- return isset(self::$_methods[$method]) ? self::$_methods[$method] : '0';
+ return isset(self::$methodsTable[$method]) ? self::$methodsTable[$method] : '0';
176
}
177
178
0 commit comments