Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

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