@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | |
75 | 75 | protected function isInstalled() |
76 | 76 | { |
77 | - return file_exists($this->app->storagePath() . '/app/installed'); |
|
77 | + return file_exists($this->app->storagePath().'/app/installed'); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
@@ -95,11 +95,11 @@ discard block |
||
95 | 95 | */ |
96 | 96 | protected function resetProviders() |
97 | 97 | { |
98 | - $this->app['events']->listen('bootstrapped: App\Bootstrappers\LoadConfiguration', function ($app) { |
|
98 | + $this->app['events']->listen('bootstrapped: App\Bootstrappers\LoadConfiguration', function($app) { |
|
99 | 99 | $config = $app['config']; |
100 | 100 | |
101 | 101 | $providers = $config['app.providers']; |
102 | - $providers = array_filter($providers, function ($p) { |
|
102 | + $providers = array_filter($providers, function($p) { |
|
103 | 103 | return substr($p, 0, strlen('Illuminate')) == 'Illuminate'; |
104 | 104 | }); |
105 | 105 |
@@ -126,8 +126,8 @@ |
||
126 | 126 | private function summary($args) |
127 | 127 | { |
128 | 128 | foreach ($this->waste($args) as $basket) { |
129 | - $this->info(' name: ' . $basket::name()); |
|
130 | - $this->info(' summary: ' . $basket::summary()); |
|
129 | + $this->info(' name: '.$basket::name()); |
|
130 | + $this->info(' summary: '.$basket::summary()); |
|
131 | 131 | } |
132 | 132 | } |
133 | 133 |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | |
52 | 52 | $this->info(PHP_EOL."Running 'composer $command'.".PHP_EOL); |
53 | 53 | |
54 | - if($this->runComposer(base_path(), $command) !== 0) { |
|
54 | + if ($this->runComposer(base_path(), $command) !== 0) { |
|
55 | 55 | throw new \Exception('Plugin Installation was faild.'); |
56 | 56 | } |
57 | 57 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | |
60 | 60 | $activate = $this->option('activate'); |
61 | 61 | |
62 | - if($activate) { |
|
62 | + if ($activate) { |
|
63 | 63 | $this->activatePlugin($name); |
64 | 64 | $this->info("Plugin '$name' is activated.".PHP_EOL); |
65 | 65 | } |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | $output = $this->output; |
83 | 83 | |
84 | 84 | return $process->run( |
85 | - function ($type, $line) use ($output) { |
|
85 | + function($type, $line) use ($output) { |
|
86 | 86 | $output->write($line); |
87 | 87 | } |
88 | 88 | ); |
@@ -106,7 +106,7 @@ |
||
106 | 106 | if (count($cacheNames) === 0) { |
107 | 107 | $this->error('캐시된 테이블이 없습니다. 테이블 이름을 확인하세요.'); |
108 | 108 | } else { |
109 | - $this->info(implode(',', array_unique($cacheNames)) . ' 테이블을 캐시 했습니다.'); |
|
109 | + $this->info(implode(',', array_unique($cacheNames)).' 테이블을 캐시 했습니다.'); |
|
110 | 110 | } |
111 | 111 | } |
112 | 112 |
@@ -54,7 +54,7 @@ |
||
54 | 54 | // get skin list |
55 | 55 | $skinList = $skinHandler->getList($target); |
56 | 56 | |
57 | - $skins = function ($skinList, $selectedSkin) { |
|
57 | + $skins = function($skinList, $selectedSkin) { |
|
58 | 58 | yield [ |
59 | 59 | 'text' => '선택하세요', |
60 | 60 | 'selected' => false |
@@ -51,7 +51,7 @@ |
||
51 | 51 | foreach ($fields as $key => $value) { |
52 | 52 | if ($params = XeLang::parsePreprocessor($key)) { |
53 | 53 | list($kSeq, $seq, $command) = $params; |
54 | - switch ( $command ) { |
|
54 | + switch ($command) { |
|
55 | 55 | case 'name': |
56 | 56 | $this->mapSeqName[$seq] = $value; |
57 | 57 | break; |
@@ -132,7 +132,7 @@ |
||
132 | 132 | $fieldSkin = $registerHandler->getSkin($dynamicField, $request->get('skinId')); |
133 | 133 | |
134 | 134 | return XePresenter::makeApi([ |
135 | - 'configure' => $fieldType->getSettingsView($config) . $fieldSkin->settings($config), |
|
135 | + 'configure' => $fieldType->getSettingsView($config).$fieldSkin->settings($config), |
|
136 | 136 | ]); |
137 | 137 | } |
138 | 138 |
@@ -90,7 +90,7 @@ |
||
90 | 90 | foreach ($permissionGroups as $tab => &$group) { |
91 | 91 | foreach ($group as $key => &$item) { |
92 | 92 | $permission = $permissionHandler->find($item['id']); |
93 | - if($permission === null) { |
|
93 | + if ($permission === null) { |
|
94 | 94 | $permission = $permissionHandler->register($item['id'], new Grant()); |
95 | 95 | } |
96 | 96 | $item['permission'] = $permission; |
@@ -9,7 +9,7 @@ |
||
9 | 9 | { |
10 | 10 | $file = File::find($id); |
11 | 11 | |
12 | - header('Content-type: ' . $file->mime); |
|
12 | + header('Content-type: '.$file->mime); |
|
13 | 13 | |
14 | 14 | echo $file->getContent(); |
15 | 15 | } |