projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0c29ed
)
Add typehint for DI::baseUrl()
author
Philipp
<admin@philipp.info>
Sat, 18 Feb 2023 19:57:49 +0000
(20:57 +0100)
committer
Philipp
<admin@philipp.info>
Sat, 18 Feb 2023 20:12:21 +0000
(21:12 +0100)
src/DI.php
patch
|
blob
|
history
diff --git
a/src/DI.php
b/src/DI.php
index 78eb5bee4c9ed7491dfbb38962bd98df51af98ff..cc765fa529c1ec6c1a2f4c4974de013e957cdea6 100644
(file)
--- a/
src/DI.php
+++ b/
src/DI.php
@@
-126,10
+126,7
@@
abstract class DI
return self::$dice->create(App\Arguments::class);
}
- /**
- * @return App\BaseURL
- */
- public static function baseUrl()
+ public static function baseUrl(): App\BaseURL
{
return self::$dice->create(App\BaseURL::class);
}