mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Move words
This commit is contained in:
parent
e0d1655582
commit
966a3522ff
@ -12,8 +12,8 @@ interface FunctionExistenceProviderInterface
|
||||
|
||||
/**
|
||||
* Use this hook for informing whether or not a global function exists. If you know the function does
|
||||
* not exist, return false. If you aren't sure if it exists or not, return null and the default analysis will continue
|
||||
* to determine if the function actually exists.
|
||||
* not exist, return false. If you aren't sure if it exists or not, return null and the default analysis
|
||||
* will continue to determine if the function actually exists.
|
||||
*
|
||||
* @return ?bool
|
||||
*/
|
||||
|
@ -15,9 +15,9 @@ interface FunctionReturnTypeProviderInterface
|
||||
public static function getFunctionIds() : array;
|
||||
|
||||
/**
|
||||
* Use this hook for providing custom return type logic. If this plugin does not know what a function should return
|
||||
* but another plugin may be able to determine the type, return null. Otherwise return a mixed union type if something
|
||||
* should be returned, but can't be more specific.
|
||||
* Use this hook for providing custom return type logic. If this plugin does not know what a function should
|
||||
* return but another plugin may be able to determine the type, return null. Otherwise return a mixed union type
|
||||
* if something should be returned, but can't be more specific.
|
||||
*
|
||||
* @param array<PhpParser\Node\Arg> $call_args
|
||||
*
|
||||
|
@ -13,8 +13,8 @@ interface MethodExistenceProviderInterface
|
||||
|
||||
/**
|
||||
* Use this hook for informing whether or not a method exists on a given object. If you know the method does
|
||||
* not exist, return false. If you aren't sure if it exists or not, return null and the default analysis will continue
|
||||
* to determine if the method actually exists.
|
||||
* not exist, return false. If you aren't sure if it exists or not, return null and the default analysis will
|
||||
* continue to determine if the method actually exists.
|
||||
*
|
||||
* @return ?bool
|
||||
*/
|
||||
|
@ -16,8 +16,8 @@ interface MethodReturnTypeProviderInterface
|
||||
|
||||
/**
|
||||
* Use this hook for providing custom return type logic. If this plugin does not know what a method should return
|
||||
* but another plugin may be able to determine the type, return null. Otherwise return a mixed union type if something
|
||||
* should be returned, but can't be more specific.
|
||||
* but another plugin may be able to determine the type, return null. Otherwise return a mixed union type if
|
||||
* something should be returned, but can't be more specific.
|
||||
*
|
||||
* @param array<PhpParser\Node\Arg> $call_args
|
||||
* @param ?array<Type\Union> $template_type_parameters
|
||||
|
@ -14,8 +14,8 @@ interface PropertyExistenceProviderInterface
|
||||
|
||||
/**
|
||||
* Use this hook for informing whether or not a property exists on a given object. If you know the property does
|
||||
* not exist, return false. If you aren't sure if it exists or not, return null and the default analysis will continue
|
||||
* to determine if the property actually exists.
|
||||
* not exist, return false. If you aren't sure if it exists or not, return null and the default analysis will
|
||||
* continue to determine if the property actually exists.
|
||||
*
|
||||
* @return ?bool
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user