From 5b701ebb07cb90b2e2cf7ac98e47ee82bab18279 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Mon, 9 Mar 2026 17:23:34 +0100 Subject: [PATCH] refactor(application-source): use Laravel helpers for null checks Replace is_null() and !is_null() with blank() and filled() helper functions for better readability and Laravel idiomatic style. --- resources/views/livewire/project/application/source.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/livewire/project/application/source.blade.php b/resources/views/livewire/project/application/source.blade.php index 3178d52b9..1e624738c 100644 --- a/resources/views/livewire/project/application/source.blade.php +++ b/resources/views/livewire/project/application/source.blade.php @@ -28,7 +28,7 @@
Code source of your application.
- @if (is_null($privateKeyId)) + @if (blank($privateKeyId))
Currently connected source: {{ data_get($application, 'source.name', 'No source connected') }}
@@ -44,7 +44,7 @@ class="font-bold text-warning">{{ data_get($application, 'source.name', 'No sour
- @if (!is_null($privateKeyId)) + @if (filled($privateKeyId))

Deploy Key

Currently attached Private Key: {{ $privateKeyName }}