Skip to content

Commit

Permalink
Merge pull request #50 from appstract/analysis-zdPMv9
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
gizburdt authored Jun 24, 2019
2 parents c6d5e0f + cf3b87d commit 552963d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DirectivesRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ public static function parseMultipleArgs($expression)
*/
public static function stripQuotes($expression)
{
return str_replace(["'", "\""], '', $expression);
return str_replace(["'", '"'], '', $expression);
}
}
2 changes: 1 addition & 1 deletion src/directives.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
*/

'pushonce' => function ($expression) {
list($pushName, $pushSub) = explode(':', trim(substr($expression, 1, -1)));
[$pushName, $pushSub] = explode(':', trim(substr($expression, 1, -1)));

$key = '__pushonce_'.str_replace('-', '_', $pushName).'_'.str_replace('-', '_', $pushSub);

Expand Down

0 comments on commit 552963d

Please sign in to comment.