Skip to content

Commit

Permalink
Update Permission.php
Browse files Browse the repository at this point in the history
  • Loading branch information
freost committed Oct 21, 2024
1 parent 2af92f7 commit 41c6ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mako/file/Permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ enum Permission: int
*/
public static function calculate(Permission ...$permission): int
{
$permissions = static::NONE->value;
$permissions = 0o000;

foreach ($permission as $_permission) {
$permissions |= $_permission->value;
Expand Down

0 comments on commit 41c6ca2

Please sign in to comment.