Apply suggestions from code review

This commit is contained in:
Vincent (Wen Yu) Ge
2024-04-10 18:04:06 -04:00
committed by GitHub
parent 7cfcad127d
commit 40cc1681cc
+2 -2
View File
@@ -322,9 +322,9 @@ class Specs extends Action
// add wild card if applicable
if ($subNode['$resource'] ?? false) {
$pattern = "{$key}.*";
$pattern = '{$key}.*';
} else {
$pattern = "{$key}";
$pattern = '{$key}';
}
$model = isset($subNode['$model']) ? $subNode['$model'] : $parentModel;