Skip to content

Commit 7d14454

Browse files
committed
Update doc block to be more truthful
1 parent 8406f18 commit 7d14454

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/class-wp-json-authentication-oauth1.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,13 +578,13 @@ public function create_signature_string( $params ) {
578578
}
579579

580580
/**
581-
* Creates a urlencoded string out of an array of query parameters
581+
* Creates an array of urlencoded strings out of each array key/value pairs
582582
*
583583
* @since 0.1.0
584584
* @param array $params Array of parameters to convert.
585585
* @param array $query_params Array to extend.
586586
* @param string $key Optional Array key to append
587-
* @return string Urlencoded string
587+
* @return string Array of urlencoded strings
588588
*/
589589
public function join_with_equals_sign( $params, $query_params = array(), $key = '' ) {
590590
foreach ( $params as $param_key => $param_value ) {

0 commit comments

Comments
 (0)