Skip to content

Commit

Permalink
Move words
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Aug 11, 2020
1 parent e0d1655 commit 966a352
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/Psalm/Plugin/Hook/FunctionExistenceProviderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public static function getFunctionIds() : array;

/**
* 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
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Psalm/Plugin/Hook/FunctionReturnTypeProviderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
4 changes: 2 additions & 2 deletions src/Psalm/Plugin/Hook/MethodExistenceProviderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ public static function getClassLikeNames() : array;

/**
* 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
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Psalm/Plugin/Hook/MethodReturnTypeProviderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public static function getClassLikeNames() : array;

/**
* 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
Expand Down
4 changes: 2 additions & 2 deletions src/Psalm/Plugin/Hook/PropertyExistenceProviderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public static function getClassLikeNames() : array;

/**
* 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
*/
Expand Down

0 comments on commit 966a352

Please sign in to comment.