---
title: "PHP SDK v2.7.5"
description: "PHP SDK v2.7.5"
canonical: "https://temporal.io/changelog/php-sdk-v2-7-5.md"
source: "https://temporal.io/changelog/php-sdk-v2-7-5"
date: "2024-02-06"
product_areas:
  - "PHP SDK"
---

# PHP SDK v2.7.5

## What's Changed

- Fix passing named arguments in stub methods by [@shanginn](https://github.com/shanginn), [@roxblnfk](https://github.com/roxblnfk), [@root-aza](https://github.com/root-aza) in [#376](https://github.com/temporalio/sdk-php/pull/376)

// Workflow context

public function handle(string $userId, string $email) {
    // ...

    $activityStub = Workflow::newActivityStub(SubscriptionActivity::class, ActivityOptions::new()-\>withStartToCloseTimeout(10));

    // Called method signature:
    // public function subscribe(string $email, string $userId, string $prefix = 'Dear', array $channels = \['main'\]): void

    yield $activityStub-\>subscribe(user: $userId, email: $email, channels: \['news'\]);
    // Arguments in correct order will be sent: $email, $userId, 'Dear', \['news'\] 

    // ...}

**Full Changelog**: [v2.7.4...v2.7.5](https://github.com/temporalio/sdk-php/compare/v2.7.4...v2.7.5)

- [Sourse code](https://github.com/temporalio/sdk-php/archive/refs/tags/v2.7.5.zip)
- [Release notes](https://github.com/temporalio/sdk-php/releases/tag/v2.7.5)
