aboutsummaryrefslogtreecommitdiffstats
path: root/include/classes/Application.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-10-24 17:23:44 +0200
committerThomas Lange <code@nerdmind.de>2021-10-24 17:33:14 +0200
commit76cdd118d68bda3b7b29b192c7bf3d6e02bd6079 (patch)
treeec9159bd6ea23c9319d2fec58d182aeeb08d2c88 /include/classes/Application.php
parent10c0d433f4d2557bd57cf1f2e3b2bbd760ba804c (diff)
downloadbigpipe-76cdd118d68bda3b7b29b192c7bf3d6e02bd6079.tar.gz
bigpipe-76cdd118d68bda3b7b29b192c7bf3d6e02bd6079.tar.xz
bigpipe-76cdd118d68bda3b7b29b192c7bf3d6e02bd6079.zip
Add parameter and return types for all PHP methods
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";