Skip to content

Commit

Permalink
Added link to php-stubs/wordpress-stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Apr 24, 2022
1 parent 4b683e5 commit bf23491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<mixed>`). This package has all the stubs created by hand, so they are much more precise.

Expand Down

0 comments on commit bf23491

Please sign in to comment.