Skip to content

Commit

Permalink
Scrutinizer Auto-Fixes (#396)
Browse files Browse the repository at this point in the history
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
  • Loading branch information
scrutinizer-auto-fixer authored and aimeos committed Jul 27, 2021
1 parent 53bc7e9 commit 08b632d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/


if (! function_exists('airoute')) {
if( !function_exists( 'airoute' ) ) {
/**
* Generate the URL to a named route.
*
Expand All @@ -25,7 +25,7 @@ function airoute( $name, $parameters = [], $absolute = true )
$parameters['currency'] = $current->parameter( 'currency', Request::get( 'currency' ) );
}

return app('url')->route( $name, array_filter( $parameters ), $absolute );
return app( 'url' )->route( $name, array_filter( $parameters ), $absolute );
}
}

Expand Down

0 comments on commit 08b632d

Please sign in to comment.