Skip to content

Commit bf30474

Browse files
committed
fix namespace
1 parent accc7cd commit bf30474

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

integration/php/main.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function assertGetFormConfig(\SDK\Client $client): void
119119
throw new RuntimeException("Test assertGetFormConfig failed: Elements, got: " . count($form->getElements()));
120120
}
121121

122-
if (!$form->getElements()[0] instanceof CommonFormElementInput) {
122+
if (!$form->getElements()[0] instanceof \SDK\CommonFormElementInput) {
123123
throw new RuntimeException("Test assertGetFormConfig failed: Elements.0, got: " . get_debug_type($form->getElements()[0]));
124124
}
125125

@@ -128,7 +128,7 @@ function assertGetFormConfig(\SDK\Client $client): void
128128
throw new RuntimeException("Test assertGetFormConfig failed: Elements.0.Type, got: " . $input->getType());
129129
}
130130

131-
if (!$form->getElements()[1] instanceof CommonFormElementSelect) {
131+
if (!$form->getElements()[1] instanceof \SDK\CommonFormElementSelect) {
132132
throw new RuntimeException("Test assertGetFormConfig failed: Elements.1, got: " . get_debug_type($form->getElements()[1]));
133133
}
134134

@@ -137,7 +137,7 @@ function assertGetFormConfig(\SDK\Client $client): void
137137
throw new RuntimeException("Test assertGetFormConfig failed: Elements.1.Options, got: " . count($select->getOptions()));
138138
}
139139

140-
if (!$form->getElements()[2] instanceof CommonFormElementTextArea) {
140+
if (!$form->getElements()[2] instanceof \SDK\CommonFormElementTextArea) {
141141
throw new RuntimeException("Test assertGetFormConfig failed: Elements.2, got: " . get_debug_type($form->getElements()[2]));
142142
}
143143
}

0 commit comments

Comments
 (0)