ENH Methods with missing nullable return types
This commit is contained in:
parent
8aab888d50
commit
b2a4aca1b9
|
@ -19,7 +19,7 @@ class ModuleResourceLoader implements TemplateGlobalProvider
|
||||||
* For other files, return original value
|
* For other files, return original value
|
||||||
*
|
*
|
||||||
* @param string $resource
|
* @param string $resource
|
||||||
* @return string
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
public function resolvePath($resource)
|
public function resolvePath($resource)
|
||||||
{
|
{
|
||||||
|
@ -38,7 +38,7 @@ class ModuleResourceLoader implements TemplateGlobalProvider
|
||||||
* Resolves resource specifier to the given url.
|
* Resolves resource specifier to the given url.
|
||||||
*
|
*
|
||||||
* @param string $resource
|
* @param string $resource
|
||||||
* @return string
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
public function resolveURL($resource)
|
public function resolveURL($resource)
|
||||||
{
|
{
|
||||||
|
@ -60,7 +60,7 @@ class ModuleResourceLoader implements TemplateGlobalProvider
|
||||||
* Template wrapper for resolvePath
|
* Template wrapper for resolvePath
|
||||||
*
|
*
|
||||||
* @param string $resource
|
* @param string $resource
|
||||||
* @return string
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
public static function resourcePath($resource)
|
public static function resourcePath($resource)
|
||||||
{
|
{
|
||||||
|
@ -71,7 +71,7 @@ class ModuleResourceLoader implements TemplateGlobalProvider
|
||||||
* Template wrapper for resolveURL
|
* Template wrapper for resolveURL
|
||||||
*
|
*
|
||||||
* @param string $resource
|
* @param string $resource
|
||||||
* @return string
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
public static function resourceURL($resource)
|
public static function resourceURL($resource)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue