Skip to content

Commit

Permalink
mvc: style sweep
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jan 9, 2025
1 parent b2cc816 commit 596a15e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/opnsense/mvc/app/library/OPNsense/Firewall/FilterRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,9 @@ private function parseFilterRules()
$rule['disabled'] = true;
$this->log('shaper defined but not found');
} elseif (!empty($shaper2['type'])) {
$rule['dn'] = sprintf('%s (%s, %s)', $shaper1['type'], $shaper1['id'], $shaper2['id']);
$rule['dn'] = sprintf('%s (%s, %s)', $shaper1['type'], $shaper1['id'], $shaper2['id']);
} else {
$rule['dn'] = sprintf('%s %s', $shaper1['type'], $shaper1['id']);
$rule['dn'] = sprintf('%s %s', $shaper1['type'], $shaper1['id']);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/opnsense/mvc/app/models/OPNsense/Firewall/Alias.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function skipDynamicInfo()
*/
private $aliasReferenceCache = [];

public function __construct($skip_dynamic_info=false)
public function __construct($skip_dynamic_info = false)
{
$this->skip_dynamic_info = $skip_dynamic_info;
parent::__construct();
Expand Down

0 comments on commit 596a15e

Please sign in to comment.