Passed
Push — dev ( 7171c0...92609b )
by Zach
09:11
created
src/BundleItems/BundleItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
      */
149 149
     public function setParameters($parameters)
150 150
     {
151
-        $this->parameters = collect($parameters)->mapWithKeys(function ($value, $key) {
151
+        $this->parameters = collect($parameters)->mapWithKeys(function($value, $key) {
152 152
             if (!$key = $this->getNamespacedKey($key)) {
153 153
                 return [];
154 154
             }
Please login to merge, or discard this patch.
src/Bundle/Bundle.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      */
155 155
     protected function setValues(Collection $values)
156 156
     {
157
-        return $this->values = $values->map(function ($value) {
157
+        return $this->values = $values->map(function($value) {
158 158
             if (!$value instanceof BundleItem) {
159 159
                 return ItemFactory::build($value);
160 160
             }
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
         $aliases = config('lang-bundler.aliases');
214 214
 
215 215
         $autoAliases = collect($this->bundleMap->getAutoAliases())
216
-            ->filter(function ($value) {
216
+            ->filter(function($value) {
217 217
                 return $value === $this->id;
218 218
             });
219 219
 
Please login to merge, or discard this patch.
src/Translator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $locale = null
24 24
     ) {
25 25
         return $bundle->getValues()
26
-            ->mapWithKeys(function (BundleItem $bundleItem) use ($parameters, $locale) {
26
+            ->mapWithKeys(function(BundleItem $bundleItem) use ($parameters, $locale) {
27 27
                 $bundleItem->setParameters($parameters);
28 28
 
29 29
                 if ($choice = $bundleItem->hasChoice()) {
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
      */
18 18
     public function register()
19 19
     {
20
-        $this->app->singleton(LangBundler::class, function () {
20
+        $this->app->singleton(LangBundler::class, function() {
21 21
             return new LangBundler(
22 22
                 new BundleMap(),
23 23
                 new Translator()
@@ -44,15 +44,15 @@  discard block
 block discarded – undo
44 44
      */
45 45
     protected function registerCommands()
46 46
     {
47
-        $this->app->singleton('command.langb.start', function ($app) {
47
+        $this->app->singleton('command.langb.start', function($app) {
48 48
             return $app[MakeBundlesFolder::class];
49 49
         });
50 50
 
51
-        $this->app->singleton('command.langb.new', function ($app) {
51
+        $this->app->singleton('command.langb.new', function($app) {
52 52
             return $app[MakeNewBundleFile::class];
53 53
         });
54 54
 
55
-        $this->app->singleton('command.langb.mod', function ($app) {
55
+        $this->app->singleton('command.langb.mod', function($app) {
56 56
             return $app[MakeBundleMod::class];
57 57
         });
58 58
 
Please login to merge, or discard this patch.