Skip to content

Commit f64266d

Browse files
committed
fix: lint
1 parent fd182a9 commit f64266d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/SDK/SDK.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,9 @@ public function __construct(Language $language, Spec $spec)
218218
return $m === strtoupper($m) ? strtolower($m) : lcfirst($m);
219219
}, $matches[0]));
220220
};
221-
if (count($parts) < 2) return $toSnake($value);
221+
if (count($parts) < 2) {
222+
return $toSnake($value);
223+
}
222224
return $parts[0] . '.' . $toSnake($parts[1]);
223225
}));
224226
}

0 commit comments

Comments
 (0)