This is not a design “error”, but as Python indicates a TypeError: The phase shifter here does not have a keyword parameter “width”.
In building blocks you basically never set the cell width directly, but possibly other parameters that may affect the cell width.
Note that all interconnects do have a “width” keyword. Hence, if needed, adapt the interconnect to the building block pin width when connecting, e.g. with a “taper” or “ptaper”. See also here