Skip to content

Commit 2a756d1

Browse files
committed
Updated for change to internal DCB attribute which we sneakily use.
1 parent 25787b1 commit 2a756d1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Commands/CodeBuilder/CodeBuilderCommands.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ protected function getSubComponentPropertyNames($component_data_info) {
306306
$return[] = 'hooks';
307307

308308
foreach ($component_data_info as $property_name => $property_info) {
309-
if (isset($property_info['component'])) {
309+
if (isset($property_info['component_type'])) {
310310
$return[] = $property_name;
311311
}
312312
}

src/Commands/CodeBuilderCommands.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,9 @@ protected function getSubComponentPropertyNames($component_data_info) {
305305
// a simple property that then produces the Hooks component.
306306
$return[] = 'hooks';
307307

308+
dump($component_data_info);
308309
foreach ($component_data_info as $property_name => $property_info) {
309-
if (isset($property_info['component'])) {
310+
if (isset($property_info['component_type'])) {
310311
$return[] = $property_name;
311312
}
312313
}

0 commit comments

Comments
 (0)