From 8b52e3dbebd16b73f22d9d3298f5f59c5032f889 Mon Sep 17 00:00:00 2001 From: Chris Nizzardini Date: Tue, 1 Oct 2024 22:36:12 -0400 Subject: [PATCH] cleanup --- src/Lib/Configuration.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Lib/Configuration.php b/src/Lib/Configuration.php index 022ca96a..208beeea 100644 --- a/src/Lib/Configuration.php +++ b/src/Lib/Configuration.php @@ -219,13 +219,11 @@ public function getJson(): string */ public function setJson(string $json) { - $message = 'Generally this value should be placed in your projects webroot directory.'; - if (!str_starts_with(haystack: $json, needle: '/')) { throw new InvalidArgumentException( sprintf( "Invalid json: `%s`. Value should start with a `/` and be relative to your - applications ROOT. $message", + applications ROOT. Generally this value should be placed in your projects webroot directory.", $json ) );