From c5ec79d78ad354193450cca98e7000a57f438526 Mon Sep 17 00:00:00 2001 From: Tanner Date: Wed, 4 Mar 2020 13:21:43 -0500 Subject: [PATCH] Fix acessing app.storage example (#444) --- 4.0/docs/upgrading.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/4.0/docs/upgrading.md b/4.0/docs/upgrading.md index be542bca..bfb48982 100644 --- a/4.0/docs/upgrading.md +++ b/4.0/docs/upgrading.md @@ -308,8 +308,8 @@ Accessing `app.storage` can be wrapped in a settable computed property to create ```swift extension Application { var myNumber: Int? { - get { app.storage[MyNumber.self] } - set { app.storage[MyNumber.self] = newValue } + get { self.storage[MyNumber.self] } + set { self.storage[MyNumber.self] = newValue } } }