Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

@@ 1065-1068 (lines=4) @@
1062
            ],
1063
        ];
1064
1065
        if (!is_null($this->action)) {
1066
            $dataToJsonize[$this->nameSpace][$this->evidence.'@action'] = $this->action;
1067
            $this->action                                               = null;
1068
        }
1069
1070
        if (!is_null($this->filter)) {
1071
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
@@ 1070-1072 (lines=3) @@
1067
            $this->action                                               = null;
1068
        }
1069
1070
        if (!is_null($this->filter)) {
1071
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
1072
        }
1073
1074
        return json_encode($dataToJsonize);
1075
    }