Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions inc/Core/Workflows/DataMachineWorkflowRuntime.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public function __construct( ?Jobs $db_jobs = null ) {
}

private function registerHooks(): void {
// @phpstan-ignore-next-line agents-api ships these functions in require_once'd files, which no Composer autoload map covers, so PHPStan never discovers them (#3452).
\AgentsAPI\AI\Workflows\register_workflow_runtime_handler( self::RUNTIME_KEY, array( $this, 'run' ) );
add_filter( 'wp_agent_workflow_run_recorder', array( $this, 'resolveRecorder' ), 10, 3 );
add_filter( 'wp_agent_workflow_run_status_handler', array( $this, 'resolveRunStatusHandler' ), 10, 2 );
Expand Down Expand Up @@ -294,7 +293,6 @@ public function filterPermission( bool $allowed, array $input ): bool {
return true;
}

// @phpstan-ignore-next-line agents-api ships these functions in require_once'd files, which no Composer autoload map covers, so PHPStan never discovers them (#3452).
if ( self::RUNTIME_KEY !== \AgentsAPI\AI\Workflows\agents_workflow_resolve_dispatch_runtime( $input ) ) {
return $allowed;
}
Expand Down
Loading