Skip to content

Commit 2bd04f8

Browse files
committed
fixed _methods to methodsTable
1 parent 5e0fac2 commit 2bd04f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Message/AbstractRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function setCancelMethod($value)
154154
/**
155155
* Redirect method conversion table.
156156
*/
157-
private static $_methods = [
157+
private static $methodsTable = [
158158
'1' => '1',
159159
'2' => '2',
160160
'GET' => '0',
@@ -172,7 +172,7 @@ public function setCancelMethod($value)
172172
public function formatMethod($method)
173173
{
174174
$method = strtoupper((string)$method);
175-
return isset(self::$_methods[$method]) ? self::$_methods[$method] : '0';
175+
return isset(self::$methodsTable[$method]) ? self::$methodsTable[$method] : '0';
176176
}
177177

178178
/**

0 commit comments

Comments
 (0)