Code Duplication    Length = 4-4 lines in 2 locations

src/Code/Generator.php 2 locations

@@ 188-191 (lines=4) @@
185
                {
186
                    $this->sJsCode .= rtrim($str, " \n") . "\n";
187
                }
188
                if(($str = trim($xPlugin->getScript())))
189
                {
190
                    $this->sJsReady .= "\n" . trim($str, " \n");
191
                }
192
            }
193
194
            $this->sJsReady = $this->render('jaxon::plugins/ready.js', ['sPluginScript' => $this->sJsReady]);
@@ 197-200 (lines=4) @@
194
            $this->sJsReady = $this->render('jaxon::plugins/ready.js', ['sPluginScript' => $this->sJsReady]);
195
            foreach($this->xPluginManager->getRequestPlugins() as $xPlugin)
196
            {
197
                if(($str = trim($xPlugin->getScript())))
198
                {
199
                    $this->sJsReady .= "\n" . trim($str, " \n");
200
                }
201
            }
202
203
            foreach($this->xPluginManager->getPackages() as $sClass)