diff options
author | emkael <emkael@tlen.pl> | 2016-11-03 23:22:40 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-11-03 23:22:40 +0100 |
commit | bef5754e4676a8a578550b6af24d050a946405eb (patch) | |
tree | 190a54af236d00c476b28799ba502a42205a95c5 /app/frontend/web/TemplateControl.php | |
parent | 94e03b260197122ae8f6d7dfedfb2a191fdae273 (diff) |
* more strict function definitions
Diffstat (limited to 'app/frontend/web/TemplateControl.php')
-rw-r--r-- | app/frontend/web/TemplateControl.php | 10 |
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() ); |