From e65dbadf6f20cb4445f2e72e16c23d5a2298eee3 Mon Sep 17 00:00:00 2001 From: Aleksei Lebedev <1329824+LastDragon-ru@users.noreply.github.com> Date: Sun, 27 Aug 2023 09:46:01 +0400 Subject: [PATCH] fix(documentator): Empty `Requirements` output. --- .../resources/views/requirements/markdown.blade.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/documentator/resources/views/requirements/markdown.blade.php b/packages/documentator/resources/views/requirements/markdown.blade.php index 79b6ed9b4..8ecc0cd70 100644 --- a/packages/documentator/resources/views/requirements/markdown.blade.php +++ b/packages/documentator/resources/views/requirements/markdown.blade.php @@ -7,6 +7,7 @@ ?> # Requirements +@if($requirements) | Requirement | Constraint | Supported by | |--------------|---------------------|------------------| @foreach ($packages as $key => $title) @@ -15,3 +16,6 @@ @endforeach | @endforeach @endforeach +@else +_No requirements._ +@endif