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:
parent
ee41560590
commit
e9f07ac4b4
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user