Ran phpcbf and updated helpers typehinting

This commit is contained in:
Dan Brown
2019-09-15 18:29:51 +01:00
parent b1566099a3
commit be08dc1588
23 changed files with 46 additions and 50 deletions

View File

@ -48,7 +48,7 @@ class AppServiceProvider extends ServiceProvider
return "<?php echo icon($expression); ?>";
});
Blade::directive('exposeTranslations', function($expression) {
Blade::directive('exposeTranslations', function ($expression) {
return "<?php \$__env->startPush('translations'); ?>" .
"<?php foreach({$expression} as \$key): ?>" .
'<meta name="translation" key="<?php echo e($key); ?>" value="<?php echo e(trans($key)); ?>">' . "\n" .