From 2d832c326772bf90636c3c98141221bf0869c37d Mon Sep 17 00:00:00 2001 From: Bart van Gennep Date: Mon, 8 Oct 2018 11:46:57 +0200 Subject: [PATCH] Added dummy getTheme method to schematic application --- CHANGELOG.md | 3 +++ src/Console/App.php | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7586c6c3..5ebee9fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### 3.8.10 ### +- Added dummy getTheme method to schematic application + ### 3.8.9 ### - Fixed assignUserGroup permission serialization bug diff --git a/src/Console/App.php b/src/Console/App.php index 47503bd1..bb4deb89 100644 --- a/src/Console/App.php +++ b/src/Console/App.php @@ -184,6 +184,17 @@ public function isConsole() return true; } + /** + * Returns the target application theme. + * + * @return string + */ + public function getTheme() + { + return null; + } + + /** * Override getComponent() so we can attach any pending events if the component is getting initialized as well as * do some special logic around creating the `Craft::app()->db` application component.