Passed
Push — exception ( b5f79d )
by Arnaud
05:28
created
src/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
          * Overrides configuration with environment variables.
63 63
          */
64 64
         $data = $this->getData();
65
-        $applyEnv = function ($array) use ($data) {
65
+        $applyEnv = function($array) use ($data) {
66 66
             $iterator = new \RecursiveIteratorIterator(
67 67
                 new \RecursiveArrayIterator($array),
68 68
                 \RecursiveIteratorIterator::SELF_FIRST
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
             throw new RuntimeException(sprintf('The default language "%s" is not listed in "languages" key configuration.', $this->getLanguageDefault()));
445 445
         }
446 446
 
447
-        $languages = array_filter($languages, function ($language) {
447
+        $languages = array_filter($languages, function($language) {
448 448
             return !(isset($language['enabled']) && $language['enabled'] === false);
449 449
         });
450 450
 
Please login to merge, or discard this patch.
src/Assets/Asset.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         $this->builder = $builder;
68 68
         $this->config = $builder->getConfig();
69 69
         $paths = is_array($paths) ? $paths : [$paths];
70
-        array_walk($paths, function ($path) {
70
+        array_walk($paths, function($path) {
71 71
             if (empty($path)) {
72 72
                 throw new RuntimeException('The path parameter of "asset() can\'t be empty."');
73 73
             }
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
 
412 412
             try {
413 413
                 $img = ImageManager::make($this->data['content_source']);
414
-                $img->resize($size, null, function (\Intervention\Image\Constraint $constraint) {
414
+                $img->resize($size, null, function(\Intervention\Image\Constraint $constraint) {
415 415
                     $constraint->aspectRatio();
416 416
                     $constraint->upsize();
417 417
                 });
Please login to merge, or discard this patch.