Skip to content

Commit 9f71d29

Browse files
authored
[skip ci] Fix typos in ext/soap (GH-21551)
1 parent 0401fb3 commit 9f71d29

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

ext/soap/php_packet_soap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ bool parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctio
3131

3232
ZVAL_NULL(return_value);
3333

34-
/* Response for one-way opearation */
34+
/* Response for one-way operation */
3535
if (buffer_size == 0) {
3636
return true;
3737
}

ext/soap/php_sdl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3362,7 +3362,7 @@ sdlPtr get_sdl(zval *this_ptr, char *uri, zend_long cache_wsdl)
33623362

33633363
zend_hash_str_update_mem(SOAP_GLOBAL(mem_cache), uri,
33643364
uri_len, &p, sizeof(sdl_cache_bucket));
3365-
/* remove non-persitent sdl structure */
3365+
/* remove non-persistent sdl structure */
33663366
delete_sdl_impl(sdl);
33673367
/* and replace it with persistent one */
33683368
sdl = psdl;

ext/soap/php_sdl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ struct _sdlContentModel {
166166
union {
167167
sdlTypePtr element; /* pointer to element */
168168
sdlTypePtr group; /* pointer to group */
169-
HashTable *content; /* array of sdlContentModel for sequnce,all,choice*/
169+
HashTable *content; /* array of sdlContentModel for sequence,all,choice*/
170170
char *group_ref; /* reference to group */
171171
} u;
172172
};

ext/soap/soap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,7 +1951,7 @@ static zend_never_inline ZEND_COLD void soap_real_error_handler(int error_num, z
19511951
} else {
19521952
buffer = zend_string_copy(message);
19531953

1954-
/* Get output buffer and send as fault detials */
1954+
/* Get output buffer and send as fault details */
19551955
zval outbuflen;
19561956
if (php_output_get_length(&outbuflen) != FAILURE && Z_LVAL(outbuflen) != 0) {
19571957
php_output_get_contents(&outbuf);
@@ -2834,7 +2834,7 @@ PHP_METHOD(SoapClient, __doRequest)
28342834
}
28352835
/* }}} */
28362836

2837-
/* {{{ Sets cookie thet will sent with SOAP request.
2837+
/* {{{ Sets cookie that will sent with SOAP request.
28382838
The call to this function will effect all following calls of SOAP methods.
28392839
If value is not specified cookie is removed. */
28402840
PHP_METHOD(SoapClient, __setCookie)

0 commit comments

Comments
 (0)