Inital commit for unit test configuration
This commit is contained in:
committed by
Manish Verma
parent
2f0796e954
commit
e0436b7757
@@ -18,7 +18,7 @@ trait CompilesTranslations
|
||||
return "<?php \$__env->startTranslation{$expression}; ?>";
|
||||
}
|
||||
|
||||
return "<?php echo app('translator')->getFromJson{$expression}; ?>";
|
||||
return "<?php echo e(app('translator')->getFromJson{$expression}); ?>";
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ trait CompilesTranslations
|
||||
*/
|
||||
protected function compileEndlang()
|
||||
{
|
||||
return '<?php echo $__env->renderTranslation(); ?>';
|
||||
return '<?php echo e($__env->renderTranslation()); ?>';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -39,6 +39,6 @@ trait CompilesTranslations
|
||||
*/
|
||||
protected function compileChoice($expression)
|
||||
{
|
||||
return "<?php echo app('translator')->choice{$expression}; ?>";
|
||||
return "<?php echo e(app('translator')->choice{$expression}); ?>";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user