Skip to content

Commit 36d8547

Browse files
committed
streams: remove StreamError::$param property
It is always null
1 parent 0cf29ab commit 36d8547

4 files changed

Lines changed: 5 additions & 15 deletions

File tree

main/streams/stream_errors.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ static void php_stream_error_create_object(zval *zv, php_stream_error_entry *ent
6666

6767
zend_update_property_bool(
6868
php_ce_stream_error, Z_OBJ_P(zv), ZEND_STRL("terminating"), entry->terminating);
69-
70-
/* TODO: Remove property */
71-
zend_update_property_null(php_ce_stream_error, Z_OBJ_P(zv), ZEND_STRL("param"));
7269
}
7370

7471
/* Create array of StreamError objects from error chain */

main/streams/stream_errors.stub.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ enum StreamErrorStore
132132
public string $wrapperName;
133133
public int $severity;
134134
public bool $terminating;
135-
public ?string $param;
136135
}
137136

138137
class StreamException extends Exception

main/streams/stream_errors_arginfo.h

Lines changed: 1 addition & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main/streams/stream_errors_decl.h

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)