Completed
Push — app ( 14394a )
by Akihito
05:48 queued 03:47
created
src/Bootstrap.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public function newApp(AbstractAppMeta $appMeta, $contexts, Cache $cache = null)
46 46
     {
47 47
         $cache = $cache ?: $this->getCache($appMeta, $contexts);
48
-        $appId = $appMeta->name . $contexts;
48
+        $appId = $appMeta->name.$contexts;
49 49
         $isProd = is_int(strpos($contexts, 'prod'));
50 50
         $app = $cache->fetch($appId);
51 51
         if ($app && $isProd) {
@@ -90,11 +90,11 @@  discard block
 block discarded – undo
90 90
         $contextsArray = array_reverse(explode('-', $contexts));
91 91
         $module = new AppMetaModule($appMeta);
92 92
         foreach ($contextsArray as $context) {
93
-            $class = $appMeta->name . '\Module\\' . ucwords($context) . 'Module';
93
+            $class = $appMeta->name.'\Module\\'.ucwords($context).'Module';
94 94
             if (!class_exists($class)) {
95
-                $class = 'BEAR\Package\Context\\' . ucwords($context) . 'Module';
95
+                $class = 'BEAR\Package\Context\\'.ucwords($context).'Module';
96 96
             }
97
-            if (! is_a($class, AbstractModule::class, true)) {
97
+            if (!is_a($class, AbstractModule::class, true)) {
98 98
                 throw new InvalidContextException($class);
99 99
             }
100 100
             /* @var $module AbstractModule */
Please login to merge, or discard this patch.