projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
symfony
/
finder
/
Iterator
/
SortableIterator.php
diff --git
a/vendor/symfony/finder/Iterator/SortableIterator.php
b/vendor/symfony/finder/Iterator/SortableIterator.php
index c2f54b937652f868c48a66b93068af33fe333f95..53f8e31c6c4291db03ce77281bdccd416ccaef79 100644
(file)
--- a/
vendor/symfony/finder/Iterator/SortableIterator.php
+++ b/
vendor/symfony/finder/Iterator/SortableIterator.php
@@
-63,7
+63,7
@@
class SortableIterator implements \IteratorAggregate
$this->sort = function ($a, $b) {
return $a->getMTime() - $b->getMTime();
};
$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.');
$this->sort = $sort;
} else {
throw new \InvalidArgumentException('The SortableIterator takes a PHP callable or a valid built-in sort algorithm as an argument.');