Change record status: 
Project: 
Introduced in branch: 
main
Introduced in version: 
12.0.0
Description: 

The visibility of DateTimePlus::checkArray() has been changed from public static to protected static. If you were calling DateTimePlus::checkArray() directly in your code, you should update your code to use DateTimePlus::createFromArray() instead, which handles validation internally.

Before:

$isDateArray =  DateTimePlus::checkArray($array)

After:

try {
  $dateTimePlus =  DateTimePlus::createFromArray($array)
}
catch (\InvalidArgumentException $e) {
  // Do something if the array is invalid.
}
Impacts: 
Module developers