From fcc34f052bc1cc2a35b885672d2fe745a1ca86ca Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 21 Mar 2023 23:16:54 -0400 Subject: [PATCH] spelling: binary Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/Database/Definition/DbaDefinition.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/Definition/DbaDefinition.php b/src/Database/Definition/DbaDefinition.php index 1e597bd64b..3d3a2fa928 100644 --- a/src/Database/Definition/DbaDefinition.php +++ b/src/Database/Definition/DbaDefinition.php @@ -82,7 +82,7 @@ class DbaDefinition // Assign all field that are present in the table foreach ($fieldNames as $field) { if (isset($data[$field])) { - // Limit the length of varchar, varbinary, char and binrary fields + // Limit the length of varchar, varbinary, char and binary fields if (is_string($data[$field]) && preg_match("/char\((\d*)\)/", $definition[$table]['fields'][$field]['type'], $result)) { $data[$field] = mb_substr($data[$field], 0, $result[1]); } elseif (is_string($data[$field]) && preg_match("/binary\((\d*)\)/", $definition[$table]['fields'][$field]['type'], $result)) { -- 2.39.5