Skip to content

Commit 1e1bd59

Browse files
Copilotr-brown
andauthored
Add missing string type hint to TransactionService::get() parameter (#8)
* Initial plan * Add string type hint to TransactionService::get() $number parameter Co-authored-by: r-brown <1361258+r-brown@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: r-brown <1361258+r-brown@users.noreply.github.com>
1 parent e36ae3a commit 1e1bd59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

service/TransactionService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public static function create(Context $context, Transaction $transaction): ?Tran
6969
* @throws MalformedArgumentsException
7070
* @throws RestException
7171
*/
72-
public static function get(Context $context, $number): ?Transaction
72+
public static function get(Context $context, string $number): ?Transaction
7373
{
7474
CheckUtils::paramNotEmpty($number, Constants::NUMBER);
7575

0 commit comments

Comments
 (0)