Skip to content

Commit

Permalink
Minor scrutinizer fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Firesphere committed Dec 30, 2018
1 parent 139a266 commit bfe5645
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Models/CSPDomain.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function canCreate($member = null, $context = array())

public function canEdit($member = null)
{
$canEdit = parent::canEdit($member, $context);
$canEdit = parent::canEdit($member);

if ($canEdit) {
return Permission::check('EDIT_CSPDomain', $member);
Expand All @@ -79,7 +79,7 @@ public function canEdit($member = null)

public function canView($member = null)
{
$canView = parent::canView($member, $context);
$canView = parent::canView($member);

if ($canView) {
return Permission::check('VIEW_CSPDomain', $member);
Expand All @@ -90,7 +90,7 @@ public function canView($member = null)

public function canDelete($member = null)
{
$canDelete = parent::canDelete($member, $context);
$canDelete = parent::canDelete($member);

if ($canDelete) {
return Permission::check('DELETE_CSPDOMAIN', $member);
Expand Down
2 changes: 1 addition & 1 deletion src/View/CSPRequirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class CSPRequirements extends Requirements implements Flushable


/**
* @return Requirements_Backend|CSPBackend
* @return CSPBackend
*/
public static function backend()
{
Expand Down

0 comments on commit bfe5645

Please sign in to comment.