If the callback function to be called is a static method from a different namespace, the fully qualified method including namespace must be specified (a use statement is not sufficient to resolve the namespace of the callback function)
<?php
use MyTools;
$arr = [1, 2, 3];
$arr = array_map('Tools::myHelper', $arr);
?>
will cause TypeError:
array_map() expects parameter 1 to be a valid callback, class 'Tools' not found.
Use the fully qualified name for the callback instead:
<?php
$arr = [1, 2, 3];
$arr = array_map('\MyTools\Tools::myHelper', $arr);
?>