diff options
author | emkael <emkael@tlen.pl> | 2016-05-13 13:26:11 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-05-13 13:28:25 +0200 |
commit | b42c172699c8354717d505b535a93f96ede57475 (patch) | |
tree | 9a638b34bad115c2f20fa0a3bb919b8887bea81b /app/php/web/TemplateControl.php | |
parent | 68f962ed70ea9e5aae93cca956b9ec11c5150c3c (diff) |
* type hinting wherever it's possible
Diffstat (limited to 'app/php/web/TemplateControl.php')
-rw-r--r-- | app/php/web/TemplateControl.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/php/web/TemplateControl.php b/app/php/web/TemplateControl.php index cc7f840..aa95d75 100644 --- a/app/php/web/TemplateControl.php +++ b/app/php/web/TemplateControl.php @@ -82,7 +82,7 @@ class TemplateControl extends TTemplateControl { ); } - private function _registerExternalScriptDependencies($dependencies) { + private function _registerExternalScriptDependencies(array $dependencies) { foreach ($dependencies as $dependency) { $this->Page->ClientScript->registerHeadScriptFile( $dependency, $dependency @@ -90,7 +90,7 @@ class TemplateControl extends TTemplateControl { } } - private function _registerLibScriptDependencies($dependencies) { + private function _registerLibScriptDependencies(array $dependencies) { foreach ($dependencies as $dependency) { $this->Page->ClientScript->registerScriptFile( 'LibScript.' . $dependency, @@ -101,13 +101,13 @@ class TemplateControl extends TTemplateControl { } } - private function _registerPradoScriptDependencies($dependencies) { + private function _registerPradoScriptDependencies(array $dependencies) { foreach ($dependencies as $dependency) { $this->Page->ClientScript->registerPradoScript($dependency); } } - private function _registerControlScriptDependencies($dependencies) { + private function _registerControlScriptDependencies(array $dependencies) { foreach ($dependencies as $dependency) { $this->Page->ClientScript->registerScriptFile( 'TemplateControl.' . $dependency, @@ -141,7 +141,7 @@ class TemplateControl extends TTemplateControl { } } - private function _registerExternalStyleDependencies($dependencies) { + private function _registerExternalStyleDependencies(array $dependencies) { foreach ($dependencies as $dependency) { $this->Page->ClientScript->registerStyleSheetFile( $dependency, $dependency @@ -149,7 +149,7 @@ class TemplateControl extends TTemplateControl { } } - private function _registerLibStyleDependencies($dependencies) { + private function _registerLibStyleDependencies(array $dependencies) { foreach ($dependencies as $dependency) { $this->Page->ClientScript->registerStyleSheetFile( 'LibStyle.' . $dependency, @@ -160,7 +160,7 @@ class TemplateControl extends TTemplateControl { } } - private function _registerControlStyleDependencies($dependencies) { + private function _registerControlStyleDependencies(array $dependencies) { foreach ($dependencies as $dependency) { $this->Page->ClientScript->registerStyleSheetFile( 'TemplateControl.' . $dependency, |