Code Duplication    Length = 3-3 lines in 2 locations

src/DP/GameServer/MinecraftServerBundle/MinecraftQuery/MinecraftRcon.php 1 location

@@ 168-170 (lines=3) @@
165
                'body' => 'string', 
166
            ));
167
            
168
            if ($resp['id'] != $id || $resp['type'] != $this->packetFactory->SERVER_RESPONSE_VALUE) {
169
                return false;
170
            }
171
            
172
            return $resp['body'];
173
        }

src/DP/GameServer/SteamServerBundle/SteamQuery/SourceRcon.php 1 location

@@ 209-211 (lines=3) @@
206
                'body' => 'string', 
207
            ));
208
            
209
            if ($resp['id'] != $id || $resp['type'] != $this->packetFactory->SERVER_RESPONSE_VALUE) {
210
                return false;
211
            }
212
            
213
            return $resp['body'];
214
        }