Code Duplication    Length = 8-8 lines in 2 locations

module/Core/src/Core/Form/View/Helper/FormContainer.php 1 location

@@ 38-45 (lines=8) @@
35
     * @param array $parameter
36
     * @return FormContainer|string
37
     */
38
    public function __invoke(Container $container = null, $layout = Form::LAYOUT_HORIZONTAL, $parameter = array())
39
    {
40
        if (!$container) {
41
            return $this;
42
        }
43
    
44
        return $this->render($container, $layout, $parameter);
45
    }
46
    
47
    /**
48
     * Renders the forms of a container.

module/Core/src/Core/Form/View/Helper/FormWizardContainer.php 1 location

@@ 39-46 (lines=8) @@
36
     * @param array $parameter
37
     * @return FormContainer|string
38
     */
39
    public function __invoke(Container $container = null, $layout = Form::LAYOUT_HORIZONTAL, $parameter = array())
40
    {
41
        if (!$container) {
42
            return $this;
43
        }
44
45
        return $this->render($container, $layout, $parameter);
46
    }
47
48
    /**
49
     * Renders the forms of a container.