Skip to content

Commit

Permalink
Merge pull request #190 from iranianpep/analysis-zO0YdJ
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
iranianpep committed Jul 18, 2017
2 parents f9dee39 + 31fe60d commit 789e476
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Botonomous/utility/StringUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ private function getFindPattern($toFind, $wordBoundary)
public function findInString($toFind, $subject, $wordBoundary = true)
{
$pattern = $this->getFindPattern($toFind, $wordBoundary);

return preg_match($pattern, $subject) ? true : false;
}

Expand Down

0 comments on commit 789e476

Please sign in to comment.