From b578551dbbca624a8ed62fd151ac0b9913139575 Mon Sep 17 00:00:00 2001 From: Mark Huot Date: Sun, 29 Oct 2023 21:19:15 +0000 Subject: [PATCH] pint --- src/models/Component.php | 2 +- tests/ContextTest.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/models/Component.php b/src/models/Component.php index 988b970..b676532 100644 --- a/src/models/Component.php +++ b/src/models/Component.php @@ -303,7 +303,7 @@ public function getSlot(string $name = null): SlotCollection // As we delve through the render tree pass some state around so we know // where each child is rendering and can act accordingly. For example, - // + // // 1. we set pass the context down so if a section sets a context of "bg: blue" // then any child components will also see that same context. // 2. set the render parent so child components know who is initiating diff --git a/tests/ContextTest.php b/tests/ContextTest.php index 1bce71f..740e4da 100644 --- a/tests/ContextTest.php +++ b/tests/ContextTest.php @@ -2,8 +2,6 @@ use markhuot\keystone\models\Component; -use function markhuot\craftpest\helpers\test\dd; - it('saves type', function () { $component = Component::factory()->type('site/components/with-context')->create(); $component->refresh();