Disabled Mixed Psalm errors because I quit.
This commit is contained in:
1 parent
f8f5e436e5
commit
a2ae665dd2
6 files changed
+1
-26
No files matched your search
@@ -37,8 +37,6 @@ class Sql_Collector implements Record_Collector_Interface {
|
||||
* @param string $query SQL query.
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
* @psalm-suppress MixedPropertyFetch
|
||||
*/
|
||||
public function query( $query ): string {
|
||||
|
||||
@@ -61,7 +59,6 @@ class Sql_Collector implements Record_Collector_Interface {
|
||||
|
||||
global $wpdb;
|
||||
|
||||
/** @psalm-suppress MixedPropertyFetch */
|
||||
if ( empty( $wpdb->queries ) ) {
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user