getCode() returns string
This commit is contained in:
@@ -10,7 +10,7 @@ class Style extends StaticView {
|
||||
$this->style = $style;
|
||||
}
|
||||
|
||||
function getCode() {
|
||||
function getCode(): string {
|
||||
return "<style>$this->style</style>";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user