The whole hunk
from line 418, old and new numbered
/
lines
from line 418
418418 {
419419 $text = '';
420420 foreach ($message->content as $block) {
421 if ($block instanceof TextBlock) {
421 if ($block instanceof \Anthropic\Messages\TextBlock) {
422422 $text .= $block->text;
423423 }
424424 }
from line 1074
10741074 {
10751075 $text = '';
10761076 foreach ($message->content as $block) {
1077 if ($block instanceof TextBlock) {
1077 if ($block instanceof \Anthropic\Messages\TextBlock) {
10781078 $text .= $block->text;
10791079 }
10801080 }
from line 1556
15561556 {
15571557 $text = '';
15581558 foreach ($message->content as $block) {
1559 if ($block instanceof TextBlock) {
1559 if ($block instanceof \Anthropic\Messages\TextBlock) {
15601560 $text .= $block->text;
15611561 }
15621562 }
from line 2093
20932093 {
20942094 $text = '';
20952095 foreach ($message->content as $block) {
2096 if ($block instanceof TextBlock) {
2096 if ($block instanceof \Anthropic\Messages\TextBlock) {
20972097 $text .= $block->text;
20982098 }
20992099 }
from line 2726
27262726 {
27272727 $text = '';
27282728 foreach ($message->content as $block) {
2729 if ($block instanceof TextBlock) {
2729 if ($block instanceof \Anthropic\Messages\TextBlock) {
27302730 $text .= $block->text;
27312731 }
27322732 }
from line 3229
32293229 {
32303230 $text = '';
32313231 foreach ($message->content as $block) {
3232 if ($block instanceof TextBlock) {
3232 if ($block instanceof \Anthropic\Messages\TextBlock) {
32333233 $text .= $block->text;
32343234 }
32353235 }