Completed
Push — master ( 65d52d...4831a2 )
by Maxim
02:32
created
src/ServiceProvider.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,14 +37,14 @@
 block discarded – undo
37 37
     {
38 38
         $app = $this->app;
39 39
 
40
-        $app->bind('email.compiler', function () use ($app) {
40
+        $app->bind('email.compiler', function() use ($app) {
41 41
             $cache = $app['config']['view.compiled'];
42 42
             $css = $app['config']['view.emails.css_files'];
43 43
 
44 44
             return new Compiler($app['files'], $cache, $css);
45 45
         });
46 46
 
47
-        $app['view']->addExtension('email.php', 'email', function () use ($app) {
47
+        $app['view']->addExtension('email.php', 'email', function() use ($app) {
48 48
             return new CompilerEngine($app['email.compiler']);
49 49
         });
50 50
     }
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,14 +37,16 @@
 block discarded – undo
37 37
     {
38 38
         $app = $this->app;
39 39
 
40
-        $app->bind('email.compiler', function () use ($app) {
40
+        $app->bind('email.compiler', function () use ($app)
41
+        {
41 42
             $cache = $app['config']['view.compiled'];
42 43
             $css = $app['config']['view.emails.css_files'];
43 44
 
44 45
             return new Compiler($app['files'], $cache, $css);
45 46
         });
46 47
 
47
-        $app['view']->addExtension('email.php', 'email', function () use ($app) {
48
+        $app['view']->addExtension('email.php', 'email', function () use ($app)
49
+        {
48 50
             return new CompilerEngine($app['email.compiler']);
49 51
         });
50 52
     }
Please login to merge, or discard this patch.
src/Compiler.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,8 @@  discard block
 block discarded – undo
41 41
     protected function getCssFilesContent(array $files)
42 42
     {
43 43
         $css = '';
44
-        foreach ($files as $file) {
44
+        foreach ($files as $file)
45
+        {
45 46
             $css .= $this->files->get($file);
46 47
         }
47 48
 
@@ -56,7 +57,8 @@  discard block
 block discarded – undo
56 57
      */
57 58
     public function compileString($value)
58 59
     {
59
-        if (is_null(static::$cssFilesContent)) {
60
+        if (is_null(static::$cssFilesContent))
61
+        {
60 62
             static::$cssFilesContent = $this->getCssFilesContent($this->cssFiles);
61 63
         }
62 64
 
Please login to merge, or discard this patch.