Adjusted bunch of inline doc to make Psalm pass again.

This commit is contained in:
Andrey Savchenko committed 2020-02-21 18:22:53 +02:00
1 parent f4f659c95a
commit dc88dcce1e
5 files changed
+8 -7

No files matched your search

+1 -3
View File
@@ -61,9 +61,7 @@ class Http_Collector extends Stopwatch_Collector {
* @param array $args HTTP request arguments.
* @param string $url The request URL.
*
* @return mixed
*
* @noinspection MoreThanThreeArgumentsInspection
* @return array|\WP_Error
*/
public function http_api_debug( $response, string $type, $class, array $args, string $url ) {
@@ -31,6 +31,8 @@ class Plugin_Load_Collector implements Record_Collector_Interface {
* Records time for a plugin that just finished loading.
*
* @param string $plugin Plugin file path.
*
* @psalm-suppress DocblockTypeContradiction
*/
public function plugin_loaded( $plugin ): void {