mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-04 15:13:40 -04:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user