Skip to content

Commit

Permalink
Remove template syntax because of PHPStan
Browse files Browse the repository at this point in the history
PHPStan seems to misinterpret the syntax and there
is no way to give this syntax to psalm while not
causing the errors in PHPStan.
  • Loading branch information
iquito committed Apr 24, 2020
1 parent 40b17f2 commit c94f5f1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/TransactionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ interface TransactionInterface
* @param callable $func
* @param mixed ...$arguments
* @return mixed
*
* @template TReturn
* @psalm-param callable: TReturn $func
* @psalm-return TReturn
*/
public function run(callable $func, ...$arguments);
}

0 comments on commit c94f5f1

Please sign in to comment.