just thorw a regular exception
I'm not expecting a user to do anything actionable (other than open an issue) on this error so a regular Exception should be ok.
Esse commit está contido em:
+1
-1
@@ -7068,7 +7068,7 @@ class RecursiveIteratorIterator implements OuterIterator, Traversable {
|
||||
public function getInnerIterator() {
|
||||
$it = $this->iterators[count($this->iterators)-1][0];
|
||||
if (!$it instanceof RecursiveDirectoryIterator) {
|
||||
throw new NotImplementedException(
|
||||
throw new Exception(
|
||||
"RecursiveIteratorIterator only supports RecursiveDirectoryIterator"
|
||||
);
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ class RecursiveIteratorIterator implements OuterIterator, Traversable {
|
||||
public function getInnerIterator() {
|
||||
$it = $this->iterators[count($this->iterators)-1][0];
|
||||
if (!$it instanceof RecursiveDirectoryIterator) {
|
||||
throw new NotImplementedException(
|
||||
throw new Exception(
|
||||
"RecursiveIteratorIterator only supports RecursiveDirectoryIterator"
|
||||
);
|
||||
}
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário