Html icon indicating copy to clipboard operation
Html copied to clipboard

Refine type-annotations of curried functions

Open RaoulSchaffranek opened this issue 5 years ago • 0 comments

Most of the factory-functions are curried and are annotated with return-type callable. This type is not very precise.

Phan provides refined types for callable and closure, that let's us type the argument and return-types of the function under question. These types are not defined in phpDocumentor-standard though.

Refine type-annoations for curried functions and check integration with phpDocumentor.

RaoulSchaffranek avatar May 09 '19 16:05 RaoulSchaffranek