Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

@@ 998-1001 (lines=4) @@
995
            ],
996
        ];
997
998
        if (!is_null($this->action)) {
999
            $jsonize[$this->nameSpace][$this->evidence.'@action'] = $this->action;
1000
            $this->action                                         = null;
1001
        }
1002
1003
        if (!is_null($this->filter)) {
1004
            $jsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
@@ 1003-1005 (lines=3) @@
1000
            $this->action                                         = null;
1001
        }
1002
1003
        if (!is_null($this->filter)) {
1004
            $jsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
1005
        }
1006
1007
        return json_encode($jsonize);
1008
    }