From 504ed9a87c3bdf1bf87b589e306aab7bc5f34882 Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Thu, 3 Jun 2021 20:53:02 +0200 Subject: [PATCH] Ok! Let's try again with phpstan now --- src/PhpSpreadsheet/Cell/StringValueBinder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpSpreadsheet/Cell/StringValueBinder.php b/src/PhpSpreadsheet/Cell/StringValueBinder.php index c635db2c..5b6e3db1 100644 --- a/src/PhpSpreadsheet/Cell/StringValueBinder.php +++ b/src/PhpSpreadsheet/Cell/StringValueBinder.php @@ -101,7 +101,7 @@ class StringValueBinder implements IValueBinder return true; } - protected function bindObjectValue(Cell $cell, $value): bool + protected function bindObjectValue(Cell $cell, object $value): bool { // Handle any objects that might be injected if ($value instanceof DateTimeInterface) {