Skip to content

Commit

Permalink
Merge pull request #1 from ikodota/ikodota-3.1.8
Browse files Browse the repository at this point in the history
fixed "The StyleCI analysis has failed "
  • Loading branch information
tianxingxia-cn authored Nov 24, 2016
2 parents 4ba9363 + 2588859 commit 3d4443a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CustomAuditMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ public function getCustomFields($class)
*/
public function resolveCustomMessage($message)
{
preg_match_all('/\{[\w.| ]+\}/', $message, $segments);

$compareMessage = $message;

preg_match_all('/\{[\w.| ]+\}/', $message, $segments);

foreach (current($segments) as $segment) {
$pipe = str_replace(['{', '}'], '', $segment);
Expand Down

0 comments on commit 3d4443a

Please sign in to comment.