Fix Laravel Pint formatting
This commit is contained in:
@@ -19,6 +19,7 @@ class StudentPromotionResource extends JsonResource
|
||||
if (is_array($r)) {
|
||||
return $r[$key] ?? $default;
|
||||
}
|
||||
|
||||
return $r->{$key} ?? $default;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user