Skip to content

Commit

Permalink
put $this in front of an instance function, dumbass
Browse files Browse the repository at this point in the history
  • Loading branch information
tatebosler committed Jul 28, 2018
1 parent cc14cdf commit 9475060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Rules/Profanity.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected function partialWordsPass($value)
{
$bad_words = $this->assembleDerivatives();
foreach ($bad_words as $word => $derivatives) {
if (! singleWordDerivativesPass($word, $derivatives, $value)) {
if (! $this->singleWordDerivativesPass($word, $derivatives, $value)) {
return false;
}
}
Expand Down

0 comments on commit 9475060

Please sign in to comment.