Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

@@ 1038-1041 (lines=4) @@
1035
            ],
1036
        ];
1037
1038
        if (!is_null($this->action)) {
1039
            $dataToJsonize[$this->nameSpace][$this->evidence.'@action'] = $this->action;
1040
            $this->action                                               = null;
1041
        }
1042
1043
        if (!is_null($this->filter)) {
1044
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
@@ 1043-1045 (lines=3) @@
1040
            $this->action                                               = null;
1041
        }
1042
1043
        if (!is_null($this->filter)) {
1044
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
1045
        }
1046
1047
        return json_encode($dataToJsonize);
1048
    }