@@ -91,11 +91,11 @@ public function getUser();
9191
9292 /**
9393 * Set the username to use for authentication.
94- * @param string $user The username.
94+ * @param string $user The username.
9595 * @return $this
9696 * @throws IInvalidArgumentException
9797 */
98- public function setUser ($ user );
98+ public function setUser (string $ user );
9999
100100 /**
101101 * Get the password to use for authentication.
@@ -106,11 +106,11 @@ public function getPasswd();
106106
107107 /**
108108 * Set the password to use for authentication.
109- * @param string $passwd The password.
109+ * @param string $passwd The password.
110110 * @return $this
111111 * @throws IInvalidArgumentException
112112 */
113- public function setPasswd ($ passwd );
113+ public function setPasswd (string $ passwd );
114114
115115 /**
116116 * Get the client.
@@ -121,11 +121,11 @@ public function getClient();
121121
122122 /**
123123 * Set the client.
124- * @param string $client The client.
124+ * @param string $client The client.
125125 * @return $this
126126 * @throws IInvalidArgumentException
127127 */
128- public function setClient ($ client );
128+ public function setClient (string $ client );
129129
130130 /**
131131 * Get the SAPRouter in case the connection needs to be made through a firewall.
@@ -137,11 +137,11 @@ public function getSaprouter();
137137 * In case the connection needs to be made through a firewall using a SAPRouter,
138138 * specify the SAPRouter parameters in the following format:
139139 * /H/hostname/S/portnumber/H/
140- * @param string $saprouter The saprouter.
140+ * @param string $saprouter The saprouter.
141141 * @return $this
142142 * @throws IInvalidArgumentException
143143 */
144- public function setSaprouter ($ saprouter );
144+ public function setSaprouter (string $ saprouter );
145145
146146 /**
147147 * Get the trace level. See constants TRACE_*.
@@ -151,11 +151,11 @@ public function getTrace();
151151
152152 /**
153153 * Set the trace level. See constants TRACE_*.
154- * @param int $trace The trace level.
154+ * @param int $trace The trace level.
155155 * @return $this
156156 * @throws IInvalidArgumentException
157157 */
158- public function setTrace ($ trace );
158+ public function setTrace (int $ trace );
159159
160160 /**
161161 * Only needed it if you want to connect to a non-Unicode backend using a
@@ -171,11 +171,11 @@ public function getCodepage();
171171 * non-ISO-Latin-1 user name or password. The RFC library will then use that
172172 * codepage for the initial handshake, thus preserving the characters in
173173 * username/password.
174- * @param int $codepage The codepage.
174+ * @param int $codepage The codepage.
175175 * @return $this
176176 * @throws IInvalidArgumentException
177177 */
178- public function setCodepage ($ codepage );
178+ public function setCodepage (int $ codepage );
179179
180180 /**
181181 * Get the logon Language.
@@ -185,11 +185,11 @@ public function getLang();
185185
186186 /**
187187 * Set the logon language.
188- * @param string $lang The logon language.
188+ * @param string $lang The logon language.
189189 * @return $this
190190 * @throws IInvalidArgumentException
191191 */
192- public function setLang ($ lang );
192+ public function setLang (string $ lang );
193193
194194 /**
195195 * Get the destination in RfcOpenConnection.
@@ -199,9 +199,9 @@ public function getDest();
199199
200200 /**
201201 * Set the destination in RfcOpenConnection.
202- * @param string $dest The destination in RfcOpenConnection.
202+ * @param string $dest The destination in RfcOpenConnection.
203203 * @return $this
204204 * @throws IInvalidArgumentException
205205 */
206- public function setDest ($ dest );
206+ public function setDest (string $ dest );
207207}
0 commit comments