fix coding standards

This commit is contained in:
azjezz 2021-03-14 18:28:13 +01:00 committed by Saif Eddin Gmati
parent daa65c20c8
commit eb4a93ecdb

View File

@ -44,9 +44,9 @@ final class LiteralScalarType extends Type\Type
/**
* @param mixed $value
*
* @return T
*
* @throws CoercionException
*
* @return T
*/
public function coerce($value)
{
@ -94,7 +94,7 @@ final class LiteralScalarType extends Type\Type
if ($literal_value === $coerced_value) {
/**
* @psalm-suppress InvalidReturnStatement
*
*
* @var T $coerced_value
*/
return $coerced_value;