mirror of
https://github.com/danog/endtoend-test-psl.git
synced 2024-11-26 12:25:03 +01:00
fix coding standards
This commit is contained in:
parent
daa65c20c8
commit
eb4a93ecdb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user