Unverified Commit 859b6b32 authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3869 from BenMorel/master-fix-type

Add parameter type hint
parents 97e0c2bb ecbda037
......@@ -9,10 +9,7 @@ use function sprintf;
final class UnknownFetchMode extends DBALException
{
/**
* @param mixed $fetchMode
*/
public static function new($fetchMode) : self
public static function new(int $fetchMode) : self
{
return new self(sprintf('Unknown fetch mode %d.', $fetchMode));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment