We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 515167a commit 4c2406fCopy full SHA for 4c2406f
phper/src/zend/types.rs
@@ -108,6 +108,24 @@ pub trait ParseParameter: Sized {
108
}
109
110
111
+impl ParseParameter for () {
112
+ fn spec() -> Cow<'static, str> {
113
+ Cow::Borrowed("")
114
+ }
115
+
116
+ fn num_parameters() -> usize {
117
+ 0
118
119
120
+ fn parameters() -> Vec<*mut c_void> {
121
+ Vec::new()
122
123
124
+ fn from_parameters(_parameters: &[*mut c_void]) -> Option<Self> {
125
+ Some(())
126
127
+}
128
129
impl ParseParameter for bool {
130
#[inline]
131
fn spec() -> Cow<'static, str> {
0 commit comments