Skip to content

Commit

Permalink
Merge pull request #39 from ScopeyNZ/patch-1
Browse files Browse the repository at this point in the history
Remove PSR-12 violation
  • Loading branch information
Ocramius authored Nov 25, 2022
2 parents fa8239c + 2657226 commit a202da9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/book/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ class CleanIPAssertion implements AssertionInterface
ResourceInterface $resource = null,
$privilege = null
) {
return $this->_isCleanIP($_SERVER['REMOTE_ADDR']);
return $this->isCleanIP($_SERVER['REMOTE_ADDR']);
}

protected function _isCleanIP($ip)
protected function isCleanIP($ip)
{
// ...
}
Expand Down

0 comments on commit a202da9

Please sign in to comment.