PSR compliance and formatting changes

- Replaced TRUE/FALSE constants with true/false keywords
- Replaced NULL constant with null keyword
- Replaced `<?php echo` in views with shortened `<?=`
- Added missing variable declaration
- Added missing function return type in declaration
- replaced `== true`, `== false`, `=== true` and `=== false` in if statements with simplified forms
This commit is contained in:
objecttothis
2023-12-04 12:10:16 +04:00
committed by jekkos
parent 588f96a945
commit 7b224be665
186 changed files with 3161 additions and 3073 deletions

View File

@@ -63,7 +63,7 @@ class Module extends Model
$builder->join('modules AS modules', 'modules.module_id = permissions.module_id'); //TODO: can the table parameter just be modules instead of modules AS modules?
// can't quote the parameters correctly when using different operators..
$builder->where('modules.module_id != ', 'permission_id', FALSE);
$builder->where('modules.module_id != ', 'permission_id', false);
return $builder->get();
}