Skip to content

Commit ff16280

Browse files
committed
Stan fix
1 parent ae9cdb1 commit ff16280

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/suggested-tasks/providers/class-user.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function modify_task_details_for_user_tasks_rest_format( $tasks, $args )
113113
// Loop through all tasks in the flat array.
114114
foreach ( $tasks as $key => $task ) {
115115
// Only process user provider tasks.
116-
if ( ! isset( $task['prpl_provider']->slug ) || $task['prpl_provider']->slug !== self::PROVIDER_ID ) {
116+
if ( ! isset( $task['prpl_provider']->slug ) || $task['prpl_provider']->slug !== self::PROVIDER_ID ) { // @phpstan-ignore-line property.nonObject
117117
continue;
118118
}
119119

0 commit comments

Comments
 (0)