Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

@@ 1028-1031 (lines=4) @@
1025
            ],
1026
        ];
1027
1028
        if (!is_null($this->action)) {
1029
            $dataToJsonize[$this->nameSpace][$this->evidence.'@action'] = $this->action;
1030
            $this->action                                               = null;
1031
        }
1032
1033
        if (!is_null($this->filter)) {
1034
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
@@ 1033-1035 (lines=3) @@
1030
            $this->action                                               = null;
1031
        }
1032
1033
        if (!is_null($this->filter)) {
1034
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
1035
        }
1036
1037
        return json_encode($dataToJsonize);
1038
    }