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

15 lines
229 B
PHP
Raw Normal View History

<?php
/** @template T */
class A {
/**
* @param int $id
* @param ?int $lockMode
* @param ?int $lockVersion
* @return ?T
*/
public function find($id, $lockMode = null, $lockVersion = null) {}
}
2019-07-12 00:23:02 +02:00