From 96edc165e1ed86e6415dc581c011f5184a2cb294 Mon Sep 17 00:00:00 2001 From: Chris Huber Date: Thu, 18 Jun 2026 12:35:47 -0400 Subject: [PATCH] Fix product-boundary lint alignment --- src/Registry/register-agent-runtime-bundle-importer.php | 4 ++-- src/Runtime/class-wp-agent-run-control.php | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Registry/register-agent-runtime-bundle-importer.php b/src/Registry/register-agent-runtime-bundle-importer.php index da05365..44048ff 100644 --- a/src/Registry/register-agent-runtime-bundle-importer.php +++ b/src/Registry/register-agent-runtime-bundle-importer.php @@ -226,8 +226,8 @@ static function ( $result, array $spec, array $input = array(), int $index = 0 ) $registry->unregister( $slug ); } - $config = is_array( $agent['agent_config'] ?? null ) ? $agent['agent_config'] : array(); - $meta = is_array( $agent['meta'] ?? null ) ? $agent['meta'] : array(); + $config = is_array( $agent['agent_config'] ?? null ) ? $agent['agent_config'] : array(); + $meta = is_array( $agent['meta'] ?? null ) ? $agent['meta'] : array(); $source_type = $string_value( $bundle['source_type'] ?? null, $spec['source_type'] ?? null, 'runtime-agent-package' ); $source_package = $string_value( $bundle['source_package'] ?? null, $spec['source_package'] ?? null, $bundle['package_slug'] ?? null, $spec['package_slug'] ?? null, $bundle['bundle_slug'] ?? null ); $source_version = $string_value( $bundle['source_version'] ?? null, $spec['source_version'] ?? null, $bundle['package_version'] ?? null, $spec['package_version'] ?? null, $bundle['bundle_version'] ?? null ); diff --git a/src/Runtime/class-wp-agent-run-control.php b/src/Runtime/class-wp-agent-run-control.php index 1854bda..2af4180 100644 --- a/src/Runtime/class-wp-agent-run-control.php +++ b/src/Runtime/class-wp-agent-run-control.php @@ -262,5 +262,4 @@ private static function string_value( mixed $value ): string { private static function int_value( mixed $value ): int { return is_int( $value ) || is_float( $value ) || is_string( $value ) || is_bool( $value ) ? (int) $value : 0; } - }