From 7e7fe217a2484c6f9ab482138973d1d19e03058e Mon Sep 17 00:00:00 2001 From: Yusuf Kandemir Date: Tue, 18 Dec 2018 10:00:58 +0300 Subject: [PATCH] Added null type to docblock --- src/MicrodataParser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MicrodataParser.php b/src/MicrodataParser.php index da4bd24..262ec98 100644 --- a/src/MicrodataParser.php +++ b/src/MicrodataParser.php @@ -12,7 +12,7 @@ class MicrodataParser * * Should return a string value * - * @var callable + * @var callable|null */ private $absoluteUriHandler; @@ -20,7 +20,7 @@ class MicrodataParser * MicrodataParser constructor. * * @param MicrodataDOMDocument $dom - * @param callable $absoluteUriHandler Can be set later with MicrodataParser::setAbsoluteUriHandler() + * @param callable|null $absoluteUriHandler Can be set later with MicrodataParser::setAbsoluteUriHandler() * * @see MicrodataParser::$absoluteUriHandler */