Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

@@ 1154-1157 (lines=4) @@
1151
            ],
1152
        ];
1153
1154
        if (!is_null($this->action)) {
1155
            $dataToJsonize[$this->nameSpace][$this->evidence.'@action'] = $this->action;
1156
            $this->action                                               = null;
1157
        }
1158
1159
        if (!is_null($this->filter)) {
1160
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
@@ 1159-1161 (lines=3) @@
1156
            $this->action                                               = null;
1157
        }
1158
1159
        if (!is_null($this->filter)) {
1160
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
1161
        }
1162
1163
        return json_encode($dataToJsonize);
1164
    }