summaryrefslogtreecommitdiff
path: root/app/frontend/web/TemplateControl.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/frontend/web/TemplateControl.php')
-rw-r--r--app/frontend/web/TemplateControl.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/frontend/web/TemplateControl.php b/app/frontend/web/TemplateControl.php
index aa95d75..aac5a6e 100644
--- a/app/frontend/web/TemplateControl.php
+++ b/app/frontend/web/TemplateControl.php
@@ -42,28 +42,28 @@ class TemplateControl extends TTemplateControl {
return [];
}
- private function _getControlScriptPath($className) {
+ private function _getControlScriptPath(string $className) {
return Prado::getPathOfNamespace('Application.controls.scripts')
. DIRECTORY_SEPARATOR
. $className
. '.js';
}
- private function _getControlStylePath($className) {
+ private function _getControlStylePath(string $className) {
return Prado::getPathOfNamespace('Application.controls.styles')
. DIRECTORY_SEPARATOR
. $className
. '.css';
}
- private function _getLibPath($identifier, $extension = '') {
+ private function _getLibPath(string $identifier, string $extension = '') {
return Prado::getPathOfNamespace('Lib')
. DIRECTORY_SEPARATOR
. $identifier
. $extension;
}
- private function _registerScriptFile($scriptFile) {
+ private function _registerScriptFile(string $scriptFile) {
$this->_registerExternalScriptDependencies(
$this->getExternalScriptDependencies()
);
@@ -118,7 +118,7 @@ class TemplateControl extends TTemplateControl {
}
}
- private function _registerStyleFile($styleFile) {
+ private function _registerStyleFile(string $styleFile) {
$this->_registerExternalStyleDependencies(
$this->getExternalStyleDependencies()
);