mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 11:29:24 -04:00
php 8.1 updates
This commit is contained in:
@@ -70,7 +70,7 @@ class No_Direct_ORM_Access_Test extends Gallery_Unit_Test_Case {
|
||||
}
|
||||
|
||||
class UserModuleFilterIterator extends FilterIterator {
|
||||
public function accept() {
|
||||
public function accept(): bool {
|
||||
$path_name = $this->getInnerIterator()->getPathName();
|
||||
return strpos($path_name, "/modules/user") === false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user