Skip to content

Commit

Permalink
Apply phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
SerafimArts committed Sep 27, 2024
1 parent 94b01ad commit 6f0aeaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/AttributeReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

namespace TypeLang\Reader;

use TypeLang\Parser\Parser;
use TypeLang\Parser\Node\Stmt\TypeStatement;
use TypeLang\Parser\Parser;
use TypeLang\Parser\ParserInterface;
use TypeLang\Reader\AttributeReader\AttributeProviderInterface;
use TypeLang\Reader\AttributeReader\DefaultAttributeProvider;
Expand All @@ -24,6 +24,7 @@ public function __construct(

/**
* @param \ReflectionProperty|\ReflectionParameter|\ReflectionFunctionAbstract|\ReflectionClassConstant $reflector
*
* @throws TypeReadingException
*/
private function tryRead(\Reflector $reflector): ?TypeStatement
Expand Down
4 changes: 2 additions & 2 deletions src/ReflectionReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ public function findParameterType(\ReflectionParameter $parameter): ?TypeStateme
}

/**
* @throws ReaderExceptionInterface
* @throws UnrecognizedReflectionTypeException
* @api
*
* @throws ReaderExceptionInterface
* @throws UnrecognizedReflectionTypeException
*/
public function getType(\ReflectionType $type): TypeStatement
{
Expand Down

0 comments on commit 6f0aeaf

Please sign in to comment.