Skip to content

Commit

Permalink
fix macros name
Browse files Browse the repository at this point in the history
  • Loading branch information
yggverse committed Apr 5, 2024
1 parent c38cdc8 commit 9ec48ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function __construct(?string $data = null)
$match = [];

preg_match(
'/(?<status>\d{2})\s(?<meta>.*)\r\n(?<body>.*)/su',
'/(?<code>\d{2})\s(?<meta>.*)\r\n(?<body>.*)/su',
$data,
$match
);
Expand Down

0 comments on commit 9ec48ba

Please sign in to comment.