Skip to content
Permalink
Browse files

Fix docblocks with @andrew-demb’s suggestions

  • Loading branch information...
muglug committed Jun 16, 2019
1 parent f5ff9c2 commit 7fc11af49edb02f615ff4666468f1186aab8081d
@@ -1178,7 +1178,7 @@ public function mustBeIgnored($file_path)
}
/**
* @var string[] $suppressed_issues
* @param string[] $suppressed_issues
*/
public function getReportingLevelForIssue(CodeIssue $e, array $suppressed_issues = []) : string
{
@@ -512,7 +512,7 @@ public static function getTypeFromValue($value)
* @param string|null $calling_context
* @param SourceAnalyzer $source
* @param CodeLocation $code_location
* @param array $suppressed_issues
* @param string[] $suppressed_issues
* @param bool $emit_issues
*
* @return bool|null
@@ -82,7 +82,7 @@ abstract class FunctionLikeAnalyzer extends SourceAnalyzer implements Statements
protected static $no_effects_hashes = [];
/**
* @var FunctionLikeStorage $storage
* @var FunctionLikeStorage
*/
protected $storage;
@@ -142,7 +142,7 @@ public static function checkStatic(
/**
* @param string $method_id
* @param CodeLocation $code_location
* @param array $suppressed_issues
* @param string[] $suppressed_issues
* @param string|null $calling_method_id
*
* @return bool|null
@@ -177,7 +177,7 @@ public static function checkMethodExists(
/**
* @param string $method_id
* @param CodeLocation $code_location
* @param array $suppressed_issues
* @param string[] $suppressed_issues
*
* @return false|null
*/
@@ -257,7 +257,7 @@ public static function checkMethodNotDeprecatedOrInternal(
* @param Context $context
* @param StatementsSource $source
* @param CodeLocation $code_location
* @param array $suppressed_issues
* @param string[] $suppressed_issues
*
* @return false|null
*/
@@ -498,7 +498,7 @@ public static function isMethodVisible(
* @param MethodStorage $implementer_method_storage
* @param MethodStorage $guide_method_storage
* @param CodeLocation $code_location
* @param array $suppressed_issues
* @param string[] $suppressed_issues
* @param bool $prevent_abstract_override
* @param bool $prevent_method_signature_mismatch
*
@@ -885,7 +885,7 @@ public function hasMixedMemberName(string $member_id) : bool
}
/**
* @var array<string, string<bool>> $names
* @param array<string, array<string, bool>> $names
* @return void
* @psalm-suppress MixedPropertyTypeCoercion
*/
@@ -46,7 +46,7 @@ class IssueBuffer
/**
* @param CodeIssue $e
* @param array $suppressed_issues
* @param string[] $suppressed_issues
*
* @return bool
*/
@@ -61,7 +61,7 @@ public static function accepts(CodeIssue $e, array $suppressed_issues = [])
/**
* @param CodeIssue $e
* @param array $suppressed_issues
* @param string[] $suppressed_issues
*
* @return bool
*/

0 comments on commit 7fc11af

Please sign in to comment.
You can’t perform that action at this time.