diff --git a/matlab/src/matlab/+arrow/+internal/+test/+tabular/createAllSupportedArrayTypes.m b/matlab/src/matlab/+arrow/+internal/+test/+tabular/createAllSupportedArrayTypes.m index 4ffe921449ba4..6eb930271b467 100644 --- a/matlab/src/matlab/+arrow/+internal/+test/+tabular/createAllSupportedArrayTypes.m +++ b/matlab/src/matlab/+arrow/+internal/+test/+tabular/createAllSupportedArrayTypes.m @@ -91,8 +91,8 @@ timeClasses = compose("arrow.array.Time%dArray", [32 64]); end -function timeClasses = getDateArrayClasses() - timeClasses = compose("arrow.array.Date%dArray", 32); +function dateClasses = getDateArrayClasses() + dateClasses = compose("arrow.array.Date%dArray", 32); end function number = randomNumbers(numberType, numElements) @@ -116,4 +116,4 @@ function dates = randomDatetimes(numElements) day = days(randi(255, [numElements 1])); dates = datetime(2023, 8, 23) + day; -end \ No newline at end of file +end