Skip to content

Commit 029298a

Browse files
committed
Fix phpstan detected issue.
1 parent bef26d0 commit 029298a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Behavior/TypeMapBehavior.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function initialize(array $config): void {
3737

3838
foreach ($this->_config['fields'] as $field => $type) {
3939
if (is_array($type)) {
40-
$type = $field['type'];
40+
$type = $type['type'];
4141
}
4242
if (!is_string($type)) {
4343
throw new RuntimeException('Invalid field type setup.');

0 commit comments

Comments
 (0)