@@ -170,7 +170,7 @@ |
||
170 | 170 | |
171 | 171 | /** |
172 | 172 | * @param $trait |
173 | - * @param $generator |
|
173 | + * @param ClassGenerator $generator |
|
174 | 174 | */ |
175 | 175 | private function removePropertiesFromProxy($trait, $generator) |
176 | 176 | { |
@@ -86,7 +86,7 @@ |
||
86 | 86 | |
87 | 87 | foreach ($traits as $trait) { |
88 | 88 | $this->removePropertiesFromProxy($trait, $generator); |
89 | - $generator->addTrait('\\' . $trait); |
|
89 | + $generator->addTrait('\\'.$trait); |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | // extendしたクラスが相対パスになるので |
@@ -44,7 +44,7 @@ |
||
44 | 44 | |
45 | 45 | public function updateSchema($generatedFiles, $proxiesDirectory) |
46 | 46 | { |
47 | - $outputDir = sys_get_temp_dir() . '/proxy_' . Str::random(12); |
|
47 | + $outputDir = sys_get_temp_dir().'/proxy_'.Str::random(12); |
|
48 | 48 | mkdir($outputDir); |
49 | 49 | |
50 | 50 | try { |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | |
98 | 98 | // Proxyのクラスをロードせずにスキーマを更新するために、 |
99 | 99 | // インストール時には一時的なディレクトリにProxyを生成する |
100 | - $tmpProxyOutputDir = sys_get_temp_dir() . '/proxy_' . Str::random(12); |
|
100 | + $tmpProxyOutputDir = sys_get_temp_dir().'/proxy_'.Str::random(12); |
|
101 | 101 | @mkdir($tmpProxyOutputDir); |
102 | 102 | |
103 | 103 | try { |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | if (!empty($config_cache)) { |
190 | 190 | $meta = $config_cache; |
191 | 191 | } else { |
192 | - $meta = $this->readYml($dir . '/config.yml'); |
|
192 | + $meta = $this->readYml($dir.'/config.yml'); |
|
193 | 193 | } |
194 | 194 | } catch (\Symfony\Component\Yaml\Exception\ParseException $e) { |
195 | 195 | throw new PluginException($e->getMessage(), $e->getCode(), $e); |