aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim')
-rw-r--r--crates/shirabe-php-shim/src/array.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/crates/shirabe-php-shim/src/array.rs b/crates/shirabe-php-shim/src/array.rs
index dc06b01..e7738cc 100644
--- a/crates/shirabe-php-shim/src/array.rs
+++ b/crates/shirabe-php-shim/src/array.rs
@@ -701,14 +701,6 @@ pub fn count(value: &PhpMixed) -> usize {
}
}
-pub fn current(_value: PhpMixed) -> PhpMixed {
- todo!()
-}
-
-pub fn key(_value: PhpMixed) -> Option<String> {
- todo!()
-}
-
pub fn reset<T: Clone>(_array: &[T]) -> Option<T> {
_array.first().cloned()
}
@@ -727,7 +719,3 @@ where
{
iter.into_iter().collect()
}
-
-pub fn end<V: Clone>(_array: &[V]) -> Option<V> {
- _array.last().cloned()
-}