File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -172,15 +172,14 @@ static inline void nr_php_amqplib_get_host_and_port(
172
172
return ;
173
173
}
174
174
175
- /* construct params are always saved to use for cloning purposes. */
176
-
177
175
if (!nr_php_is_zval_valid_object (amqp_connection )) {
178
176
return ;
179
177
}
180
178
179
+ /* construct_params are always saved to use for cloning purposes. */
181
180
connect_constructor_params
182
181
= nr_php_get_zval_object_property (amqp_connection , "construct_params" );
183
- if (nr_php_is_zval_valid_array (connect_constructor_params )) {
182
+ if (! nr_php_is_zval_valid_array (connect_constructor_params )) {
184
183
return ;
185
184
}
186
185
@@ -194,7 +193,7 @@ static inline void nr_php_amqplib_get_host_and_port(
194
193
195
194
amqp_port = nr_php_zend_hash_index_find (
196
195
Z_ARRVAL_P (connect_constructor_params ), AMQP_CONSTRUCT_PARAMS_PORT_INDEX );
197
- if (IS_LONG ! = Z_TYPE_P ((amqp_port ))) {
196
+ if (IS_LONG = = Z_TYPE_P ((amqp_port ))) {
198
197
message_params -> server_port = Z_LVAL_P (amqp_port );
199
198
}
200
199
}
You can’t perform that action at this time.
0 commit comments