diff --git a/README.md b/README.md index cc8887d..4e234b2 100644 --- a/README.md +++ b/README.md @@ -9,15 +9,13 @@ This PHP extension provides a set of useful functional-style operations on PHP a Method names and functionalities are inspired by [Kotlin.Collections](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/). -It may take me a really long time to fully implement this extension. Feel free to contribute. - ## 2. Documentation See [stubs](stubs/) directory for signature of all classes and methods of this extension, with PHPDoc. ## 3. Example -Here is a simple example. +Here is a simple example for how to work with arrays gracefully using this extension. ```php $employees = [ diff --git a/src/collections.c b/src/collections.c index 6787c97..6b6dd8a 100644 --- a/src/collections.c +++ b/src/collections.c @@ -9,7 +9,6 @@ #endif #include -#include #include #include diff --git a/src/php_collections_me.h b/src/php_collections_me.h index 15aa009..d173159 100644 --- a/src/php_collections_me.h +++ b/src/php_collections_me.h @@ -4,8 +4,8 @@ // @Author CismonX // -#ifndef PHP_COLLECTIONS_FE_H -#define PHP_COLLECTIONS_FE_H +#ifndef PHP_COLLECTIONS_ME_H +#define PHP_COLLECTIONS_ME_H PHP_METHOD(Collection, __construct); PHP_METHOD(Collection, addAll); @@ -114,4 +114,4 @@ PHP_METHOD(Collection, values); PHP_METHOD(Pair, __construct); -#endif // !PHP_COLLECTIONS_FE_H +#endif // !PHP_COLLECTIONS_ME_H