From bf234918655eb41dad5f08f1ae19a84a2d08d4f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Sun, 24 Apr 2022 16:24:12 +0200 Subject: [PATCH] Added link to php-stubs/wordpress-stubs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1bf9b7d..3424667 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This repo contains stubs for WordPress functions and classes to be used with [ph ## Alternatives -### `php-stubs/wordpress-stubs` +### [`php-stubs/wordpress-stubs`](https://github.com/php-stubs/wordpress-stubs) The `php-stubs/wordpress-stubs` project uses stubs that are exported directly from WordPress source code. That means that the stubs are more complete and updated quicker. On the other hand, a lot of functions and classes are documented poorly in WordPress and array types are almost never typed properly (i. e. just `array`). This package has all the stubs created by hand, so they are much more precise.