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

Add another pure annotation

This commit is contained in:
Brown 2020-08-23 18:07:49 -04:00 committed by Daniil Gentili
parent ee41560590
commit e9f07ac4b4
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -20,7 +20,10 @@ class MethodIdentifier
/**
* Takes any valid reference to a method id and converts
* it into a MethodIdentifier
*
* @param string|MethodIdentifier $method_id
*
* @psalm-pure
*/
public static function wrap($method_id): self
{