Commit fe94ff08 authored by Nicolas Widart's avatar Nicolas Widart

Squashed 'Modules/Workshop/' changes from fef5639..bac0f7f

bac0f7f Type hinting closure parameter

git-subtree-dir: Modules/Workshop
git-subtree-split: bac0f7fa636bec9df1a76380afff75be03961597
parent 44c8992d
<?php namespace Modules\Workshop\Manager; <?php namespace Modules\Workshop\Manager;
use Illuminate\Config\Repository as Config; use Illuminate\Config\Repository as Config;
use Pingpong\Modules\Module;
class ModuleManager class ModuleManager
{ {
...@@ -60,7 +61,7 @@ class ModuleManager ...@@ -60,7 +61,7 @@ class ModuleManager
{ {
$enabledModules = $this->module->enabled(); $enabledModules = $this->module->enabled();
$enabledModules = array_map(function($module) { $enabledModules = array_map(function(Module $module) {
return $module->getName(); return $module->getName();
}, $enabledModules); }, $enabledModules);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment