Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

@@ 1012-1015 (lines=4) @@
1009
            ],
1010
        ];
1011
1012
        if (!is_null($this->action)) {
1013
            $dataToJsonize[$this->nameSpace][$this->evidence.'@action'] = $this->action;
1014
            $this->action                                               = null;
1015
        }
1016
1017
        if (!is_null($this->filter)) {
1018
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
@@ 1017-1019 (lines=3) @@
1014
            $this->action                                               = null;
1015
        }
1016
1017
        if (!is_null($this->filter)) {
1018
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
1019
        }
1020
1021
        return json_encode($dataToJsonize);
1022
    }