Skip to content

Commit ae10582

Browse files
Copilotmichalsn
andauthored
fix: add explicit OCI8 field data return type
Co-authored-by: michalsn <459185+michalsn@users.noreply.github.com>
1 parent a18f93c commit ae10582

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎system/Database/OCI8/Result.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function getFieldNames(): array
3636

3737
public function getFieldData(): array
3838
{
39-
return array_map(fn ($fieldIndex) => (object) [
39+
return array_map(fn ($fieldIndex): stdClass => (object) [
4040
'name' => oci_field_name($this->resultID, $fieldIndex),
4141
'type' => oci_field_type($this->resultID, $fieldIndex),
4242
'max_length' => oci_field_size($this->resultID, $fieldIndex),

0 commit comments

Comments
 (0)