From fa02578087595043169e9f898d048802da510105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Cobucci?= Date: Thu, 27 Aug 2020 19:13:08 +0200 Subject: [PATCH] Update docs --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 402fdc55..d7db8131 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ [![Total Downloads](https://img.shields.io/packagist/dt/lcobucci/clock.svg?style=flat-square)](https://packagist.org/packages/lcobucci/clock) [![Latest Stable Version](https://img.shields.io/packagist/v/lcobucci/clock.svg?style=flat-square)](https://packagist.org/packages/lcobucci/clock) +[![Unstable Version](https://img.shields.io/packagist/vpre/lcobucci/clock.svg?style=flat-square)](https://packagist.org/packages/lcobucci/clock) + -![Branch master](https://img.shields.io/badge/branch-master-brightgreen.svg?style=flat-square) [![Build Status](https://img.shields.io/travis/lcobucci/clock/master.svg?style=flat-square)](http://travis-ci.org/lcobucci/clock) [![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/lcobucci/clock/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/lcobucci/clock/?branch=master) [![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/lcobucci/clock/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/lcobucci/clock/?branch=master) -[![SensioLabsInsight](https://insight.sensiolabs.com/projects/50e3ef67-0f42-48fe-ace5-0beb9f78d117/mini.png)](https://insight.sensiolabs.com/projects/50e3ef67-0f42-48fe-ace5-0beb9f78d117) Yet another clock abstraction... @@ -36,7 +36,7 @@ function filterData(Clock $clock, array $objects): array { return array_filter( $objects, - function (stdClass $object) use ($clock): bool { + static function (stdClass $object) use ($clock): bool { return $object->expiresAt > $clock->now(); } );