From 818475e20ba0023b53964a23f4dbc654d569ea74 Mon Sep 17 00:00:00 2001 From: Aaron Francis Date: Sat, 18 Sep 2021 20:00:08 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- src/BlockManager.php | 2 +- src/Exceptions/UnrenderedBlockException.php | 4 +--- src/TorchlightExtension.php | 12 ++++++------ tests/BaseTest.php | 1 - 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/BlockManager.php b/src/BlockManager.php index 8e4eae2..f93d9c9 100644 --- a/src/BlockManager.php +++ b/src/BlockManager.php @@ -26,7 +26,7 @@ class BlockManager protected $jigsaw; /** - * @param Block $block + * @param Block $block */ public function add(Block $block) { diff --git a/src/Exceptions/UnrenderedBlockException.php b/src/Exceptions/UnrenderedBlockException.php index ba4d68d..46b5766 100644 --- a/src/Exceptions/UnrenderedBlockException.php +++ b/src/Exceptions/UnrenderedBlockException.php @@ -5,10 +5,8 @@ namespace Torchlight\Jigsaw\Exceptions; - use Exception; class UnrenderedBlockException extends Exception { - -} \ No newline at end of file +} diff --git a/src/TorchlightExtension.php b/src/TorchlightExtension.php index 305641e..087bae9 100644 --- a/src/TorchlightExtension.php +++ b/src/TorchlightExtension.php @@ -34,9 +34,9 @@ class TorchlightExtension public $config = []; /** - * @param Container $container - * @param EventBus $events - * @param null $config + * @param Container $container + * @param EventBus $events + * @param null $config * @return static */ public static function make(Container $container, EventBus $events, $config = null) @@ -45,9 +45,9 @@ public static function make(Container $container, EventBus $events, $config = nu } /** - * @param Container $container - * @param EventBus $events - * @param null|array $config + * @param Container $container + * @param EventBus $events + * @param null|array $config */ public function __construct(Container $container, EventBus $events, $config = null) { diff --git a/tests/BaseTest.php b/tests/BaseTest.php index 7184d8d..6c8d9b1 100644 --- a/tests/BaseTest.php +++ b/tests/BaseTest.php @@ -177,7 +177,6 @@ public function expected_non_existent_block_is_fine() $this->assertTrue(true); } - /** @test */ public function test_publish_command() {