Skip to content

Commit

Permalink
Merge pull request #2 from mjrider/master
Browse files Browse the repository at this point in the history
Adding closure to trigger bug in parsing logic
  • Loading branch information
oscarotero authored Nov 11, 2019
2 parents f9f0bed + 6e0c167 commit a95e51a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/assets/code.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ class AuthMiddleware
{
public function test()
{
return __('Accessing the Backoffice is not allowed at this time.');
$test = function() {
return __('Accessing the Backoffice is not allowed at this time.');
};
$test();
}
}
}

0 comments on commit a95e51a

Please sign in to comment.