File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ static zend_object *pgsql_link_create_object(zend_class_entry *class_type) {
154
154
}
155
155
156
156
static zend_function * pgsql_link_get_constructor (zend_object * object ) {
157
- zend_throw_error (NULL , "Cannot directly construct PgSql, use pg_connect() or pg_pconnect() instead" );
157
+ zend_throw_error (NULL , "Cannot directly construct PgSql\\Connection , use pg_connect() or pg_pconnect() instead" );
158
158
return NULL ;
159
159
}
160
160
@@ -210,7 +210,7 @@ static zend_object *pgsql_result_create_object(zend_class_entry *class_type) {
210
210
}
211
211
212
212
static zend_function * pgsql_result_get_constructor (zend_object * object ) {
213
- zend_throw_error (NULL , "Cannot directly construct PgSqlResult , use a dedicated function instead" );
213
+ zend_throw_error (NULL , "Cannot directly construct PgSql\\Result , use a dedicated function instead" );
214
214
return NULL ;
215
215
}
216
216
@@ -248,7 +248,7 @@ static zend_object *pgsql_lob_create_object(zend_class_entry *class_type) {
248
248
}
249
249
250
250
static zend_function * pgsql_lob_get_constructor (zend_object * object ) {
251
- zend_throw_error (NULL , "Cannot directly construct PgSqlLob , use pg_lo_open() instead" );
251
+ zend_throw_error (NULL , "Cannot directly construct PgSql\\Lob , use pg_lo_open() instead" );
252
252
return NULL ;
253
253
}
254
254
Original file line number Diff line number Diff line change @@ -31,6 +31,6 @@ pg_query($conn, "ROLLBACK");
31
31
pg_close ($ conn );
32
32
?>
33
33
--EXPECTF--
34
- pg_lo_create(): Argument #1 ($connection) must be of type PgSql when the connection is provided
34
+ pg_lo_create(): Argument #1 ($connection) must be of type PgSql when the connection is provided%w
35
35
int(%d)
36
36
int(%d)
You can’t perform that action at this time.
0 commit comments