Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / finder / Iterator / SortableIterator.php
index c2f54b937652f868c48a66b93068af33fe333f95..53f8e31c6c4291db03ce77281bdccd416ccaef79 100644 (file)
@@ -63,7 +63,7 @@ class SortableIterator implements \IteratorAggregate
             $this->sort = function ($a, $b) {
                 return $a->getMTime() - $b->getMTime();
             };
-        } elseif (is_callable($sort)) {
+        } elseif (\is_callable($sort)) {
             $this->sort = $sort;
         } else {
             throw new \InvalidArgumentException('The SortableIterator takes a PHP callable or a valid built-in sort algorithm as an argument.');