Adjusted bunch of inline doc to make Psalm pass again.
This commit is contained in:
1 parent
f4f659c95a
commit
dc88dcce1e
5 files changed
+8
-7
No files matched your search
@@ -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 {
|
||||
|
||||
|
||||
Reference in new issue
Block a user