Code Duplication    Length = 4-4 lines in 2 locations

src/Plugin/CodeGenerator.php 2 locations

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