File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed
src/Messages/MessageObjects Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,7 @@ public function toArray(): array
3333 ];
3434
3535 if ($ this ->caption ) {
36- $ returnArray [] = [
37- 'caption ' => $ this ->caption
38- ];
36+ $ returnArray ['caption ' ] = $ this ->caption ;
3937 }
4038
4139 return $ returnArray ;
Original file line number Diff line number Diff line change @@ -33,9 +33,7 @@ public function toArray(): array
3333 ];
3434
3535 if ($ this ->caption ) {
36- $ returnArray [] = [
37- 'caption ' => $ this ->caption
38- ];
36+ $ returnArray ['caption ' ] = $ this ->caption ;
3937 }
4038
4139 return $ returnArray ;
Original file line number Diff line number Diff line change @@ -33,9 +33,7 @@ public function toArray(): array
3333 ];
3434
3535 if ($ this ->caption ) {
36- $ returnArray [] = [
37- 'caption ' => $ this ->caption
38- ];
36+ $ returnArray ['caption ' ] = $ this ->caption ;
3937 }
4038
4139 return $ returnArray ;
You can’t perform that action at this time.
0 commit comments