Intervention / image

PHP Image Processing
https://image.intervention.io
MIT License
13.84k stars 1.5k forks source link

Add doc block @link tags to main methods #1293

Closed olivervogel closed 6 months ago

olivervogel commented 7 months ago

Describe the feature you'd like Add Doc-Block @link tags to main methods that produce links via the respective IDE's language server, which can be displayed and opened.

Sometimes it is necessary to look up more information about the methods in the documentation. A direct link would be very helpful here.

Code Example

    /**
     * Return width of current image
     *
     * @return int
     * @link https://image.intervention.io/v3/basics/meta-information#reading-the-pixel-width
     */
    public function width(): int;

Result

Bildschirmfoto 2024-02-04 um 11 45 26
olivervogel commented 6 months ago

Added in https://github.com/Intervention/image/commit/5cd2641a99b822a6abc86f4bb03d0b5a3afa0c0e