mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Coding Standards: Fix/ignore the WordPress.NamingConventions.ValidFunctionName violations.
See #47632 git-svn-id: https://develop.svn.wordpress.org/trunk@45580 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -211,7 +211,7 @@ class WP_Http_Cookie {
|
||||
*
|
||||
* @return string Header encoded cookie name and value.
|
||||
*/
|
||||
public function getHeaderValue() {
|
||||
public function getHeaderValue() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
|
||||
if ( ! isset( $this->name ) || ! isset( $this->value ) ) {
|
||||
return '';
|
||||
}
|
||||
@@ -234,7 +234,7 @@ class WP_Http_Cookie {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getFullHeader() {
|
||||
public function getFullHeader() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
|
||||
return 'Cookie: ' . $this->getHeaderValue();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user