aboutsummaryrefslogtreecommitdiffstats
path: root/include/classes/Debugging/Resource
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/Debugging/Resource
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/Debugging/Resource')
-rw-r--r--include/classes/Debugging/Resource/Javascript.php2
-rw-r--r--include/classes/Debugging/Resource/Stylesheet.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/classes/Debugging/Resource/Javascript.php b/include/classes/Debugging/Resource/Javascript.php
index 4d0d47c..a0f988f 100644
--- a/include/classes/Debugging/Resource/Javascript.php
+++ b/include/classes/Debugging/Resource/Javascript.php
@@ -2,7 +2,7 @@
namespace Debugging\Resource;
class Javascript extends \BigPipe\Resource\Javascript {
- public function __construct($customID, $resourceURL) {
+ public function __construct(string $customID, string $resourceURL) {
parent::__construct(...func_get_args());
foreach(['INIT', 'LOAD', 'DONE'] as $phase) {
diff --git a/include/classes/Debugging/Resource/Stylesheet.php b/include/classes/Debugging/Resource/Stylesheet.php
index 39ce8a4..028752f 100644
--- a/include/classes/Debugging/Resource/Stylesheet.php
+++ b/include/classes/Debugging/Resource/Stylesheet.php
@@ -2,7 +2,7 @@
namespace Debugging\Resource;
class Stylesheet extends \BigPipe\Resource\Stylesheet {
- public function __construct($customID, $resourceURL) {
+ public function __construct(string $customID, string $resourceURL) {
parent::__construct(...func_get_args());
foreach(['INIT', 'LOAD', 'DONE'] as $phase) {