Commit ecbda037 authored by Benjamin Morel's avatar Benjamin Morel

Add parameter type hint

parent 97e0c2bb
...@@ -9,10 +9,7 @@ use function sprintf; ...@@ -9,10 +9,7 @@ use function sprintf;
final class UnknownFetchMode extends DBALException final class UnknownFetchMode extends DBALException
{ {
/** public static function new(int $fetchMode) : self
* @param mixed $fetchMode
*/
public static function new($fetchMode) : self
{ {
return new self(sprintf('Unknown fetch mode %d.', $fetchMode)); 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