diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php
index d5b693837..dc7136275 100644
--- a/bootstrap/helpers/shared.php
+++ b/bootstrap/helpers/shared.php
@@ -446,7 +446,7 @@ function parseEnvFormatToArray($env_file_contents)
$remainder = '';
// Check if value starts with quotes
- $firstChar = isset($value_and_comment[0]) ? $value_and_comment[0] : '';
+ $firstChar = $value_and_comment[0] ?? '';
$isDoubleQuoted = $firstChar === '"';
$isSingleQuoted = $firstChar === "'";
diff --git a/resources/views/livewire/project/shared/environment-variable/add.blade.php b/resources/views/livewire/project/shared/environment-variable/add.blade.php
index a17984d21..7d5fabcb7 100644
--- a/resources/views/livewire/project/shared/environment-variable/add.blade.php
+++ b/resources/views/livewire/project/shared/environment-variable/add.blade.php
@@ -16,7 +16,7 @@
@endif
-
@if (!$shared)
diff --git a/resources/views/livewire/project/shared/environment-variable/all.blade.php b/resources/views/livewire/project/shared/environment-variable/all.blade.php
index a009d8d89..f1d108703 100644
--- a/resources/views/livewire/project/shared/environment-variable/all.blade.php
+++ b/resources/views/livewire/project/shared/environment-variable/all.blade.php
@@ -61,8 +61,8 @@
Environment (secrets) variables for Production.
@forelse ($this->environmentVariables as $env)
-
+
@empty
No environment variables found.
@endforelse
@@ -72,27 +72,23 @@
Environment (secrets) variables for Preview Deployments.
@foreach ($this->environmentVariablesPreview as $env)
-
+
@endforeach
@endif
@else
@endif
-
+
\ No newline at end of file
diff --git a/resources/views/livewire/project/shared/environment-variable/show.blade.php b/resources/views/livewire/project/shared/environment-variable/show.blade.php
index c2865ccb8..cc95939de 100644
--- a/resources/views/livewire/project/shared/environment-variable/show.blade.php
+++ b/resources/views/livewire/project/shared/environment-variable/show.blade.php
@@ -15,7 +15,8 @@
@can('delete', $this->env)
@@ -24,7 +25,7 @@
@can('update', $this->env)
-
Update
@@ -117,8 +118,8 @@
-
+
@endcan
@else
@@ -132,7 +133,8 @@
@endif
-
+
@else
@@ -145,10 +147,12 @@
@endif
@if ($is_shared)
-
+
@endif
-
+
@endif
@else
@@ -160,7 +164,8 @@
@endif
-
+
@endcan
@can('update', $this->env)
@@ -213,8 +218,8 @@
@if ($isDisabled)
Update
Lock
- Update
Lock
-
-
+
\ No newline at end of file