In my physics book of "mathematical methods for physics", the author writes that line integral of a scalar function $\phi$ over a curve $C$ can be written as the following: $$\int_C\phi\,\text d{\textbf r}=\textbf{i}\int_C\phi(x,y,z)\,\text dx\,+\textbf{j}\int_C\phi(x,y,z)\,\text dy\,+\textbf{k}\int_C\phi(x,y,z)\,\text dz\,$$
Is it not supposed to be a numerical value? If we parametrize the curve $๐ถ=๐(๐ก)$ with $๐โค๐กโค๐$ then evaluate $\int_a^๐๐(๐(๐ก))|๐ฃ(๐ก)|๐๐ก$ we get such a number, not a vector. $๐ฃ(๐ก)$ is the derivative of $๐(๐ก)$ wrt $๐ก$
I posted this on MSE too: https://math.stackexchange.com/q/3479481/328520 but it was unhelpful.
It might come down to understanding the difference between $\int_C\phi\,\text d{\textbf r}$ and $\int_C\phi\,\text ds$. I have never seen a differential in the form of a vector in any of my calculus books.
Any help is greatly appreciated :)