Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

@@ 1170-1173 (lines=4) @@
1167
            ],
1168
        ];
1169
1170
        if (!is_null($this->action)) {
1171
            $dataToJsonize[$this->nameSpace][$this->evidence.'@action'] = $this->action;
1172
            $this->action                                               = null;
1173
        }
1174
1175
        if (!is_null($this->filter)) {
1176
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
@@ 1175-1177 (lines=3) @@
1172
            $this->action                                               = null;
1173
        }
1174
1175
        if (!is_null($this->filter)) {
1176
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
1177
        }
1178
1179
        return json_encode($dataToJsonize);
1180
    }