Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Bump phpstan/phpstan from 1.4.2 to 1.4.6 #6

Merged
merged 2 commits into from
Feb 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/Utility/Attribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ final class Attribute
*/
final public static function stack(string $attributeClassName, int $parents = 1)
{
/** @var array{function: string, line?: int, file?: string, class: class-string, type?: string, args?: array, object?: object} $caller */
$caller = debug_backtrace(\DEBUG_BACKTRACE_IGNORE_ARGS)[$parents + 1];
$reflection = new \ReflectionMethod($caller['class'], $caller['function']);
$attributes = $reflection->getAttributes($attributeClassName);
Expand Down