1
0
mirror of https://github.com/danog/LibDNSJson.git synced 2024-11-26 20:04:38 +01:00

PHPCS fix

This commit is contained in:
Daniil Gentili 2019-07-15 14:59:57 +02:00
parent d91ef5cbb4
commit 2beef48935

View File

@ -136,7 +136,7 @@ class JsonDecoder
$data = $resource->getData(); $data = $resource->getData();
$typeDef = $data->getTypeDefinition(); $typeDef = $data->getTypeDefinition();
$record['data'] = explode(' ', $record['data'], $typeDef->count()); $record['data'] = \explode(' ', $record['data'], $typeDef->count());
$fieldDef = $index = null; $fieldDef = $index = null;
foreach ($data->getTypeDefinition() as $index => $fieldDef) { foreach ($data->getTypeDefinition() as $index => $fieldDef) {