1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix syntax error

This commit is contained in:
Matthew Brown 2016-10-18 23:35:30 -04:00
parent 5e1fc3c38b
commit 4b96a08871

View File

@ -75,9 +75,6 @@ class Php56Test extends PHPUnit_Framework_TestCase
{
$stmts = self::$_parser->parse('<?php
function f($req, $opt = null, ...$params) {
// $params is an array containing the remaining arguments.
printf('$req: %d; $opt: %d; number of params: %d'."\n",
$req, $opt, count($params));
}
f(1);