diff --git a/.travis.yml b/.travis.yml index 77fb1cff..eee4f57e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: php php: - - hhvm - - hhvm-nightly + - hhvm-3.30 matrix: allow_failures: - php: hhvm diff --git a/src/Ref.php b/src/Ref.php new file mode 100644 index 00000000..06368c4c --- /dev/null +++ b/src/Ref.php @@ -0,0 +1,28 @@ +>` + * over `Vector`. + * + * `C\reduce()` and `C\reduce_with_key()` can also be used in some situations + * to avoid this class. + */ +final class Ref { + <<__RxShallow>> + public function __construct(public T $value) {} +}