Mark classes as final when they can be, to communicate intent (don’t subclass these). Fix #4751.

This commit is contained in:
Brent Simmons committed 2025-09-16 10:21:29 -07:00
1 parent c6585994fb
commit 4b7ea6d920
170 files changed
+188 -188

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ protocol WebViewControllerDelegate: AnyObject {
func webViewController(_: WebViewController, articleExtractorButtonStateDidUpdate: ArticleExtractorButtonState)
}
class WebViewController: UIViewController {
final class WebViewController: UIViewController {
private struct MessageName {
static let imageWasClicked = "imageWasClicked"