Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

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