From 992e37bf3b76f244ae4d2ab0e181a07152e39387 Mon Sep 17 00:00:00 2001 From: Alexey Kopytko Date: Sun, 15 Mar 2020 12:31:32 +0900 Subject: [PATCH] Fix type + PHPStan --- .phpstan.neon | 2 -- README.md | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.phpstan.neon b/.phpstan.neon index 863a22c..5526d41 100644 --- a/.phpstan.neon +++ b/.phpstan.neon @@ -5,5 +5,3 @@ parameters: paths: - src - tests - ignoreErrors: - - '#Call to an undefined method.*get#' diff --git a/README.md b/README.md index f8fd2fe..e55117f 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ Following this approach, a static analyzer will be able to understand what is ca ## Eager Execution -What if a program calls for `Deferred` object, but lazy evaluation is not required? For example, because a result is already avaiable being loaded from cache. +What if a program calls for `Deferred` object, but lazy evaluation is not required? For example, because a result is already avaiable being loaded from a cache. No problem, there's a function for this: