ENH Methods with missing nullable return types

This commit is contained in:
Thomas Portelange 2024-03-29 10:03:41 +01:00 committed by GitHub
parent 8aab888d50
commit b2a4aca1b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ class ModuleResourceLoader implements TemplateGlobalProvider
* For other files, return original value
*
* @param string $resource
* @return string
* @return string|null
*/
public function resolvePath($resource)
{
@ -38,7 +38,7 @@ class ModuleResourceLoader implements TemplateGlobalProvider
* Resolves resource specifier to the given url.
*
* @param string $resource
* @return string
* @return string|null
*/
public function resolveURL($resource)
{
@ -60,7 +60,7 @@ class ModuleResourceLoader implements TemplateGlobalProvider
* Template wrapper for resolvePath
*
* @param string $resource
* @return string
* @return string|null
*/
public static function resourcePath($resource)
{
@ -71,7 +71,7 @@ class ModuleResourceLoader implements TemplateGlobalProvider
* Template wrapper for resolveURL
*
* @param string $resource
* @return string
* @return string|null
*/
public static function resourceURL($resource)
{