array( 'type' => 'string' ), 'bytes' => array( 'type' => 'integer' ), ); } protected function annotations(): array { return array( 'readonly' => true, 'destructive' => false, 'idempotent' => true, ); } /** * @param array $input Input. * @return array */ protected function run( array $input ) { $report = Toolbox_Repository::environment_report(); return array( 'report' => $report, 'bytes' => strlen( $report ), 'message' => __( 'Environment report generated.', 'acrossai-abilities-manager' ), ); } }