php 8.1 updates

This commit is contained in:
Brad Dutton
2022-01-08 19:19:03 -08:00
parent 5ac30383a5
commit 3ee59350a1
17 changed files with 56 additions and 42 deletions

View File

@@ -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;
}