aboutsummaryrefslogtreecommitdiffstats
path: root/include/classes/Application.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/classes/Application.php')
-rw-r--r--include/classes/Application.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/classes/Application.php b/include/classes/Application.php
index 88161cc..c6ae419 100644
--- a/include/classes/Application.php
+++ b/include/classes/Application.php
@@ -5,7 +5,7 @@ class Application {
#===============================================================================
# Create Pagelet instance
#===============================================================================
- public static function createPagelet($ID = NULL): BigPipe\Pagelet {
+ public static function createPagelet(string $ID = NULL): BigPipe\Pagelet {
$namespace = self::$debugging ? 'Debugging' : 'BigPipe';
$classname = "{$namespace}\Pagelet";
@@ -16,7 +16,7 @@ class Application {
#===============================================================================
# Create Stylesheet instance
#===============================================================================
- public static function createStylesheet($ID, $href): BigPipe\Resource\Stylesheet {
+ public static function createStylesheet(string $ID, string $href): BigPipe\Resource\Stylesheet {
$namespace = self::$debugging ? 'Debugging' : 'BigPipe';
$classname = "{$namespace}\Resource\Stylesheet";
@@ -27,7 +27,7 @@ class Application {
#===============================================================================
# Create Javascript instance
#===============================================================================
- public static function createJavascript($ID, $href): BigPipe\Resource\Javascript {
+ public static function createJavascript(string $ID, string $href): BigPipe\Resource\Javascript {
$namespace = self::$debugging ? 'Debugging' : 'BigPipe';
$classname = "{$namespace}\Resource\Javascript";