AliasWhitelist class references CacheArray in class comment, should reference CacheCollector.
Also removed use Drupal\Core\Utility\CacheArray as CacheArray is never used in the AliasWhitelist class.
When referencing the class name, then you must use the full namespace.
I would suggest to reword it to something like "A cache collector to ...", we already have the reference to the class in the extends definition, no need to repeat it.
Thanks Berdir - makes sense. Re-rolled and attached
This is being fixed in the RTBC issue #2185015: Remove SchemaCache and CacheArray, closing this as a duplicate.
This issue has no child issues.
Drupal is a registered trademark of Dries Buytaert.