From 15ee51b8844a28cb3a833dd6f92b1b7d714af0cf Mon Sep 17 00:00:00 2001 From: Bradley Date: Thu, 11 Jan 2024 16:07:57 +0000 Subject: [PATCH] Add docblock --- src/Twig/Runtime/IconRuntime.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Twig/Runtime/IconRuntime.php b/src/Twig/Runtime/IconRuntime.php index 9cf400b..e2c92df 100644 --- a/src/Twig/Runtime/IconRuntime.php +++ b/src/Twig/Runtime/IconRuntime.php @@ -104,6 +104,9 @@ final class IconRuntime implements RuntimeExtensionInterface $this->removeBlackFillAttributes($svg); } + /** + * @throws IconNotFound when an svg file with the passed in name cannot be found + */ private function findSvgFilepath(string $iconName): string { foreach ($this->directories as $directory) {